Index: src/utils/SkProxyCanvas.cpp |
diff --git a/src/utils/SkProxyCanvas.cpp b/src/utils/SkProxyCanvas.cpp |
index f61a31d9b3f3bdc95a0876619990c21d1bf25ee0..0a9d7a80c20a6b8f11313753bb3d1beffed63fb0 100644 |
--- a/src/utils/SkProxyCanvas.cpp |
+++ b/src/utils/SkProxyCanvas.cpp |
@@ -21,22 +21,17 @@ |
///////////////////////////////// Overrides /////////// |
-void SkProxyCanvas::onSave(SaveFlags flags) { |
- fProxy->save(flags); |
- this->INHERITED::onSave(flags); |
+int SkProxyCanvas::save(SaveFlags flags) { |
+ return fProxy->save(flags); |
} |
-bool SkProxyCanvas::onSaveLayer(const SkRect* bounds, const SkPaint* paint, |
- SaveFlags flags) { |
- fProxy->saveLayer(bounds, paint, flags); |
- this->INHERITED::onSaveLayer(bounds, paint, flags); |
- // No need for a layer. |
- return false; |
+int SkProxyCanvas::saveLayer(const SkRect* bounds, const SkPaint* paint, |
+ SaveFlags flags) { |
+ return fProxy->saveLayer(bounds, paint, flags); |
} |
-void SkProxyCanvas::onRestore() { |
+void SkProxyCanvas::restore() { |
fProxy->restore(); |
- this->INHERITED::onRestore(); |
} |
bool SkProxyCanvas::translate(SkScalar dx, SkScalar dy) { |