aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-10 15:43:29 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-02-10 15:43:29 +0000
commit6be31f42cac550dfa6fd936b36484002b6eadc9c (patch)
tree7904ad7070188c873786be38e1149a84141c057c /include/core
parent57641651275c139e34be3f1cd963ff35b8362051 (diff)
remove SK_SUPPORT_LEGACY_ONLOCKPIXELS completely
BUG=skia: Review URL: https://codereview.chromium.org/158893005 git-svn-id: http://skia.googlecode.com/svn/trunk@13382 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkPixelRef.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/core/SkPixelRef.h b/include/core/SkPixelRef.h
index 439a4ca54e..8319ec6da5 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