Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(338)

Unified Diff: ui/gfx/image/image_skia.cc

Issue 10824296: Enables HiDPI favicon to be displayed in tab strip on CrOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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());

Powered by Google App Engine
This is Rietveld 408576698