diff --git a/tools/debugger/SkDebugCanvas.h b/tools/debugger/SkDebugCanvas.h index 72d65d7da7..634d5b416d 100644 --- a/tools/debugger/SkDebugCanvas.h +++ b/tools/debugger/SkDebugCanvas.h @@ -165,25 +165,6 @@ public: Json::Value toJSONOpList(int n, SkCanvas*); - //////////////////////////////////////////////////////////////////////////////// - // Inherited from SkCanvas - //////////////////////////////////////////////////////////////////////////////// - - static const int kVizImageHeight = 256; - static const int kVizImageWidth = 256; - - bool isClipEmpty() const override { return false; } - - bool isClipRect() const override { return true; } - - SkRect onGetLocalClipBounds() const override { - return SkRect::MakeIWH(this->imageInfo().width(), this->imageInfo().height()); - } - - SkIRect onGetDeviceClipBounds() const override { - return SkIRect::MakeWH(this->imageInfo().width(), this->imageInfo().height()); - } - void detachCommands(SkTDArray* dst) { fCommandVector.swap(*dst); }