Index: ui/gfx/image/image.h |
diff --git a/ui/gfx/image/image.h b/ui/gfx/image/image.h |
index d5e630b5915bc9a28741da3c88001e513d5c0b86..544d18a0367d77fbcd35fbddc49391d917f89c58 100644 |
--- a/ui/gfx/image/image.h |
+++ b/ui/gfx/image/image.h |
@@ -65,6 +65,10 @@ class UI_EXPORT Image { |
// ownership of the image. |
explicit Image(const SkBitmap* bitmap); |
+ // Creates a new image by copying the bitmap for use as the default |
+ // representation. |
+ explicit Image(const SkBitmap& bitmap); |
+ |
// To create an Image that supports multiple resolutions pass a vector |
// of bitmaps, one for each resolution. |
explicit Image(const std::vector<const SkBitmap*>& bitmaps); |