aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/SkDrawing.cpp (renamed from src/core/SkDrawable.cpp)0
-rw-r--r--src/core/SkPixelRef.cpp3
2 files changed, 2 insertions, 1 deletions
diff --git a/src/core/SkDrawable.cpp b/src/core/SkDrawing.cpp
index 85f3175bdb..85f3175bdb 100644
--- a/src/core/SkDrawable.cpp
+++ b/src/core/SkDrawing.cpp
diff --git a/src/core/SkPixelRef.cpp b/src/core/SkPixelRef.cpp
index adfc3c02e9..e096d634b1 100644
--- a/src/core/SkPixelRef.cpp
+++ b/src/core/SkPixelRef.cpp
@@ -66,10 +66,11 @@ uint32_t SkPixelRef::getGenerationID() const {
}
void SkPixelRef::notifyPixelsChanged() {
+#ifdef SK_DEBUG
if (fIsImmutable) {
SkDebugf("========== notifyPixelsChanged called on immutable pixelref");
- sk_throw();
}
+#endif
// this signals us to recompute this next time around
fGenerationID = 0;
}