diff options
author | Mike Reed <reed@google.com> | 2017-12-20 15:03:08 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-12-20 20:27:06 +0000 |
commit | b60c5ebf045df23f9a15f85c37825b15adff9d8d (patch) | |
tree | 59ddc5aea96dd7fef64b8e738ff9e20feed5db4f /src/core/SkPictureData.cpp | |
parent | 297d6efe852ebb98a324a71c79df8f7bbdcc3b94 (diff) |
remove unused willPlayBackBitmaps from picture
and SkPictureAnalyzer
Bug: skia:
Change-Id: I394eca648234b1a69e6f9a0a88c407366a33d079
Reviewed-on: https://skia-review.googlesource.com/87791
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Diffstat (limited to 'src/core/SkPictureData.cpp')
-rw-r--r-- | src/core/SkPictureData.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/SkPictureData.cpp b/src/core/SkPictureData.cpp index 3018b879d2..889e9db453 100644 --- a/src/core/SkPictureData.cpp +++ b/src/core/SkPictureData.cpp @@ -152,18 +152,6 @@ SkPictureData::~SkPictureData() { delete fFactoryPlayback; } -bool SkPictureData::containsBitmaps() const { - if (fBitmapImageCount > 0 || fImageCount > 0) { - return true; - } - for (int i = 0; i < fPictureCount; ++i) { - if (fPictureRefs[i]->willPlayBackBitmaps()) { - return true; - } - } - return false; -} - /////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// |