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

Unified Diff: cc/picture.h

Issue 11731002: Implement a method to access the non-composited content root layer picture pile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix windows bots. Created 7 years, 12 months 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
Index: cc/picture.h
diff --git a/cc/picture.h b/cc/picture.h
index 361578cf56711a28b4693769a71592cc2fa90aa3..00103e4ca7fc3ba3c68da5c371c0c81fa384d0e2 100644
--- a/cc/picture.h
+++ b/cc/picture.h
@@ -37,7 +37,7 @@ public:
void Record(ContentLayerClient*, RenderingStats&);
// Has Record() been called yet?
- bool HasRecording() const { return picture_.get(); }
+ bool HasRecording() const { return picture_.get() != NULL; }
// Raster this Picture's layer_rect into the given canvas.
// Assumes contentsScale have already been applied.

Powered by Google App Engine
This is Rietveld 408576698