Index: include/core/SkPixelRef.h |
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h |
index 439a4ca54ee1b92ac0cbb62f260b4eae608b04e1..8319ec6da5acd7776e00b623938f4215fbb7d648 100644 |
--- a/include/core/SkPixelRef.h |
+++ b/include/core/SkPixelRef.h |
@@ -269,10 +269,6 @@ public: |
void addGenIDChangeListener(GenIDChangeListener* listener); |
protected: |
-#ifdef SK_SUPPORT_LEGACY_ONLOCKPIXELS |
- virtual void* onLockPixels(SkColorTable**); |
- virtual bool onNewLockPixels(LockRec*); |
-#else |
/** |
* On success, returns true and fills out the LockRec for the pixels. On |
* failure returns false and ignores the LockRec parameter. |
@@ -281,7 +277,6 @@ protected: |
* method need not do that. |
*/ |
virtual bool onNewLockPixels(LockRec*) = 0; |
-#endif |
/** |
* Balancing the previous successful call to onNewLockPixels. The locked |