зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1073960 - Mark DrawTarget::GetFormat() as const. r=Bas
This commit is contained in:
Родитель
ae5259ef7b
Коммит
27111a9c27
|
@ -992,7 +992,7 @@ public:
|
|||
inline void ConcatTransform(const Matrix &aTransform)
|
||||
{ SetTransform(aTransform * Matrix(GetTransform())); }
|
||||
|
||||
SurfaceFormat GetFormat() { return mFormat; }
|
||||
SurfaceFormat GetFormat() const { return mFormat; }
|
||||
|
||||
/** Tries to get a native surface for a DrawTarget, this may fail if the
|
||||
* draw target cannot convert to this surface type.
|
||||
|
|
Загрузка…
Ссылка в новой задаче