aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPixelRef.cpp
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-02-19 18:50:00 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-19 18:50:00 -0800
commit8e65712486c66108677a9b0a55ad3e7ca94db555 (patch)
tree17431ce2e0f297e735958c72d8f10d6cfdb60009 /src/core/SkPixelRef.cpp
parent87fa631969e0bdbee3c0845aa2b9bf35b9b82eb0 (diff)
Make SkPixelRef::isLocked() debug-only, remove related dead code.
DM's okay locally with no diffs, no failures. BUG=skia: 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();