Index: src/core/SkBBoxHierarchyRecord.cpp |
diff --git a/src/core/SkBBoxHierarchyRecord.cpp b/src/core/SkBBoxHierarchyRecord.cpp |
index 5d310be7bcd3d28a74a1ef823ac019306e7fddd3..e7a30f61f1495b6503a3ce3b94b6fbba62bde214 100644 |
--- a/src/core/SkBBoxHierarchyRecord.cpp |
+++ b/src/core/SkBBoxHierarchyRecord.cpp |
@@ -26,20 +26,20 @@ |
fBoundingHierarchy->insert(draw, r, true); |
} |
-int SkBBoxHierarchyRecord::save(SaveFlags flags) { |
+void SkBBoxHierarchyRecord::onSave(SaveFlags flags) { |
fStateTree->appendSave(); |
- return INHERITED::save(flags); |
+ this->INHERITED::onSave(flags); |
} |
-int SkBBoxHierarchyRecord::saveLayer(const SkRect* bounds, const SkPaint* paint, |
- SaveFlags flags) { |
+bool SkBBoxHierarchyRecord::onSaveLayer(const SkRect* bounds, const SkPaint* paint, |
+ SaveFlags flags) { |
fStateTree->appendSaveLayer(this->writeStream().bytesWritten()); |
- return INHERITED::saveLayer(bounds, paint, flags); |
+ return this->INHERITED::onSaveLayer(bounds, paint, flags); |
} |
-void SkBBoxHierarchyRecord::restore() { |
+void SkBBoxHierarchyRecord::onRestore() { |
fStateTree->appendRestore(); |
- INHERITED::restore(); |
+ this->INHERITED::onRestore(); |
} |
bool SkBBoxHierarchyRecord::translate(SkScalar dx, SkScalar dy) { |