Index: cc/picture.h |
diff --git a/cc/picture.h b/cc/picture.h |
index 4672c367cc5f3163e3f14e1fb8f85cdd567c6744..cee8b89a8bc9232109c82c79997c1689f067ec90 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; } |
// Apply this contents scale and raster the content rect into the canvas. |
void Raster(SkCanvas* canvas, gfx::Rect content_rect, float contents_scale); |