Index: ui/gfx/image/image_skia.cc |
diff --git a/ui/gfx/image/image_skia.cc b/ui/gfx/image/image_skia.cc |
index d5e91c82a6dcc9c8f3aebb616a8374c4108d31c6..5050c9ad4fe7bd8261a961bfeab6704f86287b51 100644 |
--- a/ui/gfx/image/image_skia.cc |
+++ b/ui/gfx/image/image_skia.cc |
@@ -168,6 +168,10 @@ ImageSkia& ImageSkia::operator=(const SkBitmap& other) { |
ImageSkia::~ImageSkia() { |
} |
+bool ImageSkia::BackedBySameObjectAs(const gfx::ImageSkia& other) const { |
+ return storage_.get() == other.storage_.get(); |
+} |
+ |
void ImageSkia::AddRepresentation(const ImageSkiaRep& image_rep) { |
DCHECK(!image_rep.is_null()); |