Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7648)

Unified Diff: cc/resources/picture.h

Issue 115273003: cc: Use Skia information about whether pictures have bitmaps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/resources/picture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/picture.h
diff --git a/cc/resources/picture.h b/cc/resources/picture.h
index 4eb238ab6315d55d681caad14a927cfee531dd97..085fb6a453167e9c967f3260d119b730670e2d20 100644
--- a/cc/resources/picture.h
+++ b/cc/resources/picture.h
@@ -117,6 +117,8 @@ class CC_EXPORT Picture
void EmitTraceSnapshot();
void EmitTraceSnapshotAlias(Picture* original);
+ bool WillPlayBackBitmaps() const { return picture_->willPlayBackBitmaps(); }
+
private:
explicit Picture(gfx::Rect layer_rect);
// This constructor assumes SkPicture is already ref'd and transfers
« no previous file with comments | « no previous file | cc/resources/picture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698