aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkDevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/core/SkDevice.h')
-rw-r--r--include/core/SkDevice.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index 688ce8ef40..184fb6f3bd 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -353,20 +353,6 @@ private:
friend class SkDeviceFilteredPaint;
friend class DeviceImageFilterProxy;
- /**
- * postSave is called by SkCanvas to inform the device that it has
- * just completed a save operation. This allows derived
- * classes to initialize their state-dependent caches.
- */
- virtual void postSave() {};
-
- /**
- * preRestore is called by SkCanvas right before it executes a restore
- * operation. As the partner of postSave, it allows
- * derived classes to clear their state-dependent caches.
- */
- virtual void preRestore() {};
-
// just called by SkCanvas when built as a layer
void setOrigin(int x, int y) { fOrigin.set(x, y); }
// just called by SkCanvas for saveLayer