Index: ui/gfx/image/image.h |
diff --git a/ui/gfx/image/image.h b/ui/gfx/image/image.h |
index 38a5ea9ac2502c95a51b8640fc547587d88207d4..fa7ed1f2695baac29e55a5aaa54535e1749563d9 100644 |
--- a/ui/gfx/image/image.h |
+++ b/ui/gfx/image/image.h |
@@ -184,8 +184,10 @@ class GFX_EXPORT Image { |
RepresentationType rep_type, bool must_exist) const; |
// Stores a representation into the map. A representation of that type must |
- // not already be in the map. |
- void AddRepresentation(scoped_ptr<internal::ImageRep> rep) const; |
+ // not already be in the map. Returns a pointer to the representation stored |
+ // inside the map. |
+ internal::ImageRep* AddRepresentation( |
+ scoped_ptr<internal::ImageRep> rep) const; |
// Internal class that holds all the representations. This allows the Image to |
// be cheaply copied. |