aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPixelRef.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-02-20 12:40:40 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-20 12:40:40 -0800
commit96d68b704626fe3543ea14a48b4f909519644b54 (patch)
treeaef310089392744647874209a680a683a0dd3ea9 /src/core/SkPixelRef.cpp
parent7ff705023df8f56cfdc3d3df215e96f7ac5caee7 (diff)
Make SkPixelRef::isLocked() debug-only, remove related dead code.
DM's okay locally with no diffs, no failures. BUG=skia: Committed: https://skia.googlesource.com/skia/+/8e65712486c66108677a9b0a55ad3e7ca94db555 Review URL: https://codereview.chromium.org/940083002
Diffstat (limited to 'src/core/SkPixelRef.cpp')
-rw-r--r--src/core/SkPixelRef.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core/SkPixelRef.cpp b/src/core/SkPixelRef.cpp
index f56298165c..c73c2f4b7d 100644
--- a/src/core/SkPixelRef.cpp
+++ b/src/core/SkPixelRef.cpp
@@ -197,14 +197,6 @@ bool SkPixelRef::onLockPixelsAreWritable() const {
return true;
}
-bool SkPixelRef::onImplementsDecodeInto() {
- return false;
-}
-
-bool SkPixelRef::onDecodeInto(int pow2, SkBitmap* bitmap) {
- return false;
-}
-
uint32_t SkPixelRef::getGenerationID() const {
if (0 == fGenerationID) {
fGenerationID = SkNextPixelRefGenerationID();