Index: debugger/SkDebugger.h |
diff --git a/debugger/SkDebugger.h b/debugger/SkDebugger.h |
index ffb2953272d8e674e6f1041c7a8a63012dbacf52..9ad21e24509c315f8bd83e2d3430159fca8e3377 100644 |
--- a/debugger/SkDebugger.h |
+++ b/debugger/SkDebugger.h |
@@ -60,9 +60,7 @@ public: |
fDebugCanvas->toggleFilter(on); |
} |
- void resize(int width, int height) { |
- fDebugCanvas->setBounds(width, height); |
- } |
+ void setWindowSize(int width, int height) { fDebugCanvas->setWindowSize(width, height); } |
void loadPicture(SkPicture* picture); |
@@ -93,12 +91,8 @@ public: |
return fDebugCanvas->getCurrentClip(); |
} |
- int pictureHeight() { |
- return fPictureHeight; |
- } |
- |
- int pictureWidth() { |
- return fPictureWidth; |
+ SkRect pictureCull() const { |
+ return NULL == fPicture ? SkRect::MakeEmpty() : fPicture->cullRect(); |
} |
int index() { |
@@ -138,8 +132,6 @@ private: |
SkDebugCanvas* fDebugCanvas; |
SkPicture* fPicture; |
- int fPictureWidth; |
- int fPictureHeight; |
int fIndex; |
}; |