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

Unified Diff: chrome/browser/gtk/gtk_theme_provider_unittest.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/gtk/gtk_theme_provider.cc ('k') | views/widget/default_theme_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/gtk_theme_provider_unittest.cc
===================================================================
--- chrome/browser/gtk/gtk_theme_provider_unittest.cc (revision 28595)
+++ chrome/browser/gtk/gtk_theme_provider_unittest.cc (working copy)
@@ -110,12 +110,10 @@
ImageVerifierGtkThemeProvider() : theme_toolbar_(NULL) { }
virtual SkBitmap* LoadThemeBitmap(int id) {
- if (id == IDR_THEME_TOOLBAR) {
- theme_toolbar_ = GtkThemeProvider::LoadThemeBitmap(id);
- return theme_toolbar_;
- } else {
+ if (id != IDR_THEME_TOOLBAR)
return GtkThemeProvider::LoadThemeBitmap(id);
- }
+ theme_toolbar_ = GtkThemeProvider::LoadThemeBitmap(id);
+ return theme_toolbar_;
}
SkBitmap* theme_toolbar_;
Property changes on: chrome\browser\gtk\gtk_theme_provider_unittest.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/browser/gtk/gtk_theme_provider.cc ('k') | views/widget/default_theme_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698