aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRecords.cpp
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2016-07-28 14:26:13 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-07-28 14:26:13 -0700
commit9b84f8c8122435b75905a59c67ab1c7ed52d827e (patch)
treed045a777b932f6061d4fc4e704fb87f49fb337e7 /src/core/SkRecords.cpp
parent2b6870ccb21f0dbcfb17644e9badfb1d07009315 (diff)
turn bitmaps into images during recording
Diffstat (limited to 'src/core/SkRecords.cpp')
-rw-r--r--src/core/SkRecords.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/core/SkRecords.cpp b/src/core/SkRecords.cpp
index d0a3ddbe10..81dd92f9ef 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.