Index: src/core/SkRecords.h |
diff --git a/src/core/SkRecords.h b/src/core/SkRecords.h |
index f216897dca30e016af1339415ae8ca07df554204..bd65fc5cb6fbe1b53308d43806e3fef37aeae937 100644 |
--- a/src/core/SkRecords.h |
+++ b/src/core/SkRecords.h |
@@ -180,7 +180,7 @@ private: |
// Like SkBitmap, but deep copies pixels if they're not immutable. |
// Using this, we guarantee the immutability of all bitmaps we record. |
-class ImmutableBitmap { |
+class ImmutableBitmap : SkNoncopyable { |
public: |
explicit ImmutableBitmap(const SkBitmap& bitmap) { |
if (bitmap.isImmutable()) { |