зеркало из https://github.com/mozilla/gecko-dev.git
add compute metrics
This commit is contained in:
Родитель
adafdafe17
Коммит
79590b3944
|
@ -83,6 +83,11 @@ public:
|
|||
private:
|
||||
void CreateImage(nsIDeviceContext * aDeviceContext);
|
||||
|
||||
/**
|
||||
* Calculate the amount of memory needed for the initialization of the image
|
||||
*/
|
||||
void ComputeMetrics();
|
||||
|
||||
private:
|
||||
PRInt32 mWidth;
|
||||
PRInt32 mHeight;
|
||||
|
|
Загрузка…
Ссылка в новой задаче