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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.h

Issue 10806058: Move icon fallbacks into ExtensionAction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move the icon cache inside ExtensionAction. Created 8 years, 5 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: chrome/browser/ui/gtk/location_bar_view_gtk.h
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.h b/chrome/browser/ui/gtk/location_bar_view_gtk.h
index cccbc0bbff5f2cb38f900db996d57d747a35251c..df32629b29b51b3ce53c7843882c302e0d1559d1 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.h
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.h
@@ -300,16 +300,6 @@ class LocationBarViewGtk : public OmniboxEditController,
// us, it resides in the extension of this particular profile.
ExtensionAction* page_action_;
- // A cache of all the different icon paths associated with this page action.
- typedef std::map<std::string, GdkPixbuf*> PixbufMap;
- PixbufMap pixbufs_;
-
- // A cache of the last dynamically generated bitmap and the pixbuf that
- // corresponds to it. We keep track of both so we can free old pixbufs as
- // their icons are replaced.
- SkBitmap last_icon_skbitmap_;
- GdkPixbuf* last_icon_pixbuf_;
-
// The object that is waiting for the image loading to complete
// asynchronously.
ImageLoadingTracker tracker_;

Powered by Google App Engine
This is Rietveld 408576698