diff options
author | reed <reed@google.com> | 2016-07-28 14:26:13 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-07-28 14:26:13 -0700 |
commit | 9b84f8c8122435b75905a59c67ab1c7ed52d827e (patch) | |
tree | d045a777b932f6061d4fc4e704fb87f49fb337e7 /src/core/SkRecords.cpp | |
parent | 2b6870ccb21f0dbcfb17644e9badfb1d07009315 (diff) |
turn bitmaps into images during recording
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2185563003
Review-Url: https://codereview.chromium.org/2185563003
Diffstat (limited to 'src/core/SkRecords.cpp')
-rw-r--r-- | src/core/SkRecords.cpp | 9 |
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. |