Index: cc/resources/picture.h |
diff --git a/cc/resources/picture.h b/cc/resources/picture.h |
index 471256fb5b78bbaba55f8e8551006a5f5ddb0d9e..1ee813c5989da28d715b3d88d0bd25bac0bc39ee 100644 |
--- a/cc/resources/picture.h |
+++ b/cc/resources/picture.h |
@@ -118,13 +118,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_; |