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

Unified Diff: chrome/browser/browser_theme_provider_gtk.cc

Issue 272033: Misc. cleanup for theme provider code, including:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « chrome/browser/browser_theme_provider.cc ('k') | chrome/browser/browser_theme_provider_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_theme_provider_gtk.cc
===================================================================
--- chrome/browser/browser_theme_provider_gtk.cc (revision 28595)
+++ chrome/browser/browser_theme_provider_gtk.cc (working copy)
@@ -23,9 +23,9 @@
int key = rtl_enabled ? -id : id;
// Check to see if we already have the pixbuf in the cache.
- GdkPixbufMap::const_iterator found = gdk_pixbufs_.find(key);
- if (found != gdk_pixbufs_.end())
- return found->second;
+ GdkPixbufMap::const_iterator pixbufs_iter = gdk_pixbufs_.find(key);
+ if (pixbufs_iter != gdk_pixbufs_.end())
+ return pixbufs_iter->second;
SkBitmap* bitmap = GetBitmapNamed(id);
GdkPixbuf* pixbuf = gfx::GdkPixbufFromSkBitmap(bitmap);
« no previous file with comments | « chrome/browser/browser_theme_provider.cc ('k') | chrome/browser/browser_theme_provider_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698