Index: cc/resources/picture.h |
diff --git a/cc/resources/picture.h b/cc/resources/picture.h |
index 6419b3418cfd3a9457473c1f71add5bd7bc20b3f..49c0746286539ab3078d3f2a15d4246595893237 100644 |
--- a/cc/resources/picture.h |
+++ b/cc/resources/picture.h |
@@ -114,13 +114,16 @@ class CC_EXPORT Picture |
private: |
explicit Picture(gfx::Rect layer_rect); |
- Picture(const base::Value*, bool* success); |
// This constructor assumes SkPicture is already ref'd and transfers |
// ownership to this picture. |
Picture(const skia::RefPtr<SkPicture>&, |
gfx::Rect layer_rect, |
gfx::Rect opaque_rect, |
const PixelRefMap& pixel_refs); |
+ // This constructor will call AdoptRef on the SkPicture. |
+ Picture(SkPicture*, |
+ gfx::Rect layer_rect, |
+ gfx::Rect opaque_rect); |
~Picture(); |
gfx::Rect layer_rect_; |