Index: src/utils/debugger/SkDebugCanvas.h |
diff --git a/src/utils/debugger/SkDebugCanvas.h b/src/utils/debugger/SkDebugCanvas.h |
index 94ad4263e59c2a5bc89e0dda9363531dbe9a81d2..2e9a032e4ea16ae6d9e97bed3e5ca5f149cecc89 100644 |
--- a/src/utils/debugger/SkDebugCanvas.h |
+++ b/src/utils/debugger/SkDebugCanvas.h |
@@ -145,10 +145,7 @@ public: |
*/ |
void toggleCommand(int index, bool toggle); |
- void setBounds(int width, int height) { |
- fWidth = width; |
- fHeight = height; |
- } |
+ void setWindowSize(int width, int height) { fWindowSize.set(width, height); } |
void setUserMatrix(SkMatrix matrix) { |
fUserMatrix = matrix; |
@@ -259,8 +256,7 @@ protected: |
private: |
SkTDArray<SkDrawCommand*> fCommandVector; |
SkPicture* fPicture; |
- int fWidth; |
- int fHeight; |
+ SkISize fWindowSize; |
bool fFilter; |
bool fMegaVizMode; |
int fIndex; |