Index: src/core/SkRecords.cpp |
diff --git a/src/core/SkRecords.cpp b/src/core/SkRecords.cpp |
index d0a3ddbe10c9d9705ec6db77d149908ce82f974c..81dd92f9ef4d103ad9d2b6d0548f75d0ce64b0c6 100644 |
--- a/src/core/SkRecords.cpp |
+++ b/src/core/SkRecords.cpp |
@@ -9,15 +9,6 @@ |
#include "SkRecords.h" |
namespace SkRecords { |
- ImmutableBitmap::ImmutableBitmap(const SkBitmap& bitmap) { |
- if (bitmap.isImmutable()) { |
- fBitmap = bitmap; |
- } else { |
- bitmap.copyTo(&fBitmap); |
- } |
- fBitmap.setImmutable(); |
- } |
- |
PreCachedPath::PreCachedPath(const SkPath& path) : SkPath(path) { |
this->updateBoundsCache(); |
#if 0 // Disabled to see if we ever really race on this. It costs time, chromium:496982. |