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