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

Unified Diff: chrome/browser/browser_theme_provider.cc

Issue 159461: Merge 21538 - Stop using strings for NTP logo inversion... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_theme_provider.cc
===================================================================
--- chrome/browser/browser_theme_provider.cc (revision 21767)
+++ chrome/browser/browser_theme_provider.cc (working copy)
@@ -603,9 +603,9 @@
}
if (base::strcasecmp(WideToUTF8(*iter).c_str(),
kDisplayPropertyNTPInverseLogo) == 0) {
- std::string val;
- if (display_properties_value->GetString(*iter, &val))
- display_properties_[kDisplayPropertyNTPInverseLogo] = StringToInt(val);
+ int val = 0;
+ if (display_properties_value->GetInteger(*iter, &val))
+ display_properties_[kDisplayPropertyNTPInverseLogo] = val;
}
++iter;
}
Property changes on: chrome\browser\browser_theme_provider.cc
___________________________________________________________________
Modified: svn:mergeinfo
Merged /trunk/src/chrome/browser/browser_theme_provider.cc:r21538
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698