Index: ui/gfx/image/image_skia.h |
diff --git a/ui/gfx/image/image_skia.h b/ui/gfx/image/image_skia.h |
index fffae7a54d0ca4c748fca8af5f222c5721cb59aa..0812913417e436d68d39afe80a6bb64d0a0132f0 100644 |
--- a/ui/gfx/image/image_skia.h |
+++ b/ui/gfx/image/image_skia.h |
@@ -67,6 +67,10 @@ class UI_EXPORT ImageSkia { |
~ImageSkia(); |
+ // Returns true if this object is backed by the same ImageSkiaStorage as |
+ // |other|. Will also return true if both images are isNull(). |
+ bool Equals(const gfx::ImageSkia& other) const; |
Nico
2012/08/14 20:19:36
I'd call this RefersToSamePixelsAs() or something.
pkotwicz
2012/08/14 20:22:38
I agree.
|
+ |
// Adds |image_rep| to the image reps contained by this object. |
void AddRepresentation(const gfx::ImageSkiaRep& image_rep); |