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

Unified Diff: chrome/browser/search_engines/search_terms_data.cc

Issue 244893004: Improve some naming (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/search_engines/search_terms_data.cc
diff --git a/chrome/browser/search_engines/search_terms_data.cc b/chrome/browser/search_engines/search_terms_data.cc
index 7c6e0d7257efa1eca4053b732a21fe20e4878625..bb8b95c244532f8c16c40c4b26b016ecb219c657 100644
--- a/chrome/browser/search_engines/search_terms_data.cc
+++ b/chrome/browser/search_engines/search_terms_data.cc
@@ -180,9 +180,8 @@ std::string UIThreadSearchTermsData::NTPIsThemedParam() const {
// TODO(dhollowa): Determine fraction of custom themes that don't affect the
// NTP background and/or color.
ThemeService* theme_service = ThemeServiceFactory::GetForProfile(profile_);
- // NTP is considered themed if the theme is not default and not native (GTK+).
- if (theme_service && !theme_service->UsingDefaultTheme() &&
- !theme_service->UsingNativeTheme())
+ // NTP is considered themed if the theme is not default.
+ if (theme_service && !theme_service->UsingDefaultTheme())
return "es_th=1&";
#endif // defined(ENABLE_THEMES)

Powered by Google App Engine
This is Rietveld 408576698