Index: ui/gfx/image/image_skia.cc |
diff --git a/ui/gfx/image/image_skia.cc b/ui/gfx/image/image_skia.cc |
index 20349b4baf14c71cd7fd7200697b559abc4fcf84..1d0aac2716b887b19ed61206dca6d755c3bdecb3 100644 |
--- a/ui/gfx/image/image_skia.cc |
+++ b/ui/gfx/image/image_skia.cc |
@@ -358,6 +358,10 @@ bool ImageSkia::BackedBySameObjectAs(const gfx::ImageSkia& other) const { |
return storage_.get() == other.storage_.get(); |
} |
+bool ImageSkia::Equals(const gfx::ImageSkia& other) const { |
+ return BackedBySameObjectAs(other); |
+} |
+ |
void ImageSkia::AddRepresentation(const ImageSkiaRep& image_rep) { |
DCHECK(!image_rep.is_null()); |