Index: cc/resources/picture.h |
diff --git a/cc/resources/picture.h b/cc/resources/picture.h |
index a29d5afaa6438177def4ca4af6c58e7c629d0c8a..a56156b575373e34612d9baa74d08dbbf44a10b7 100644 |
--- a/cc/resources/picture.h |
+++ b/cc/resources/picture.h |
@@ -34,8 +34,8 @@ class CC_EXPORT Picture |
static scoped_refptr<Picture> CreateFromBase64String( |
const std::string& encoded_string); |
- const gfx::Rect& LayerRect() const { return layer_rect_; } |
- const gfx::Rect& OpaqueRect() const { return opaque_rect_; } |
+ gfx::Rect LayerRect() const { return layer_rect_; } |
+ gfx::Rect OpaqueRect() const { return opaque_rect_; } |
// Get thread-safe clone for rasterizing with on a specific thread. |
scoped_refptr<Picture> GetCloneForDrawingOnThread( |
@@ -59,7 +59,7 @@ class CC_EXPORT Picture |
bool enable_lcd_text); |
void GatherPixelRefs( |
- const gfx::Rect& layer_rect, |
+ gfx::Rect layer_rect, |
std::list<skia::LazyPixelRef*>& pixel_ref_list); |
void AsBase64String(std::string* output) const; |