Bug 1065743 - Make Moz2D's DrawTarget::GetTransform() return a copy instead of a const reference. r=Bas

This commit is contained in:
Jonathan Watt 2014-09-11 01:46:16 +01:00
parent 996c7c35de
commit 0dbac46b40

View File

@ -960,7 +960,7 @@ public:
*/
virtual TemporaryRef<FilterNode> CreateFilter(FilterType aType) = 0;
const Matrix &GetTransform() const { return mTransform; }
Matrix GetTransform() const { return mTransform; }
/**
* Set a transform on the surface, this transform is applied at drawing time