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

Unified Diff: chrome/browser/themes/theme_service_factory.cc

Issue 10337010: Revert r123782. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/themes/theme_service_factory.cc
diff --git a/chrome/browser/themes/theme_service_factory.cc b/chrome/browser/themes/theme_service_factory.cc
index 36b0c6bde3ba8f03553f00bc62e7e06f590e4d47..aeefcc80ccfec785e31b3df0f0d84648a6220d1b 100644
--- a/chrome/browser/themes/theme_service_factory.cc
+++ b/chrome/browser/themes/theme_service_factory.cc
@@ -13,7 +13,7 @@
#include "chrome/common/pref_names.h"
#if defined(TOOLKIT_GTK)
-#include "chrome/browser/ui/gtk/theme_service_gtk.h"
+#include "chrome/browser/ui/gtk/gtk_theme_service.h"
#endif
// static
@@ -47,7 +47,7 @@ ProfileKeyedService* ThemeServiceFactory::BuildServiceInstanceFor(
Profile* profile) const {
ThemeService* provider = NULL;
#if defined(TOOLKIT_GTK)
- provider = new ThemeServiceGtk;
+ provider = new GtkThemeService;
#else
provider = new ThemeService;
#endif
@@ -59,7 +59,7 @@ ProfileKeyedService* ThemeServiceFactory::BuildServiceInstanceFor(
void ThemeServiceFactory::RegisterUserPrefs(PrefService* prefs) {
#if defined(TOOLKIT_GTK)
prefs->RegisterBooleanPref(prefs::kUsesSystemTheme,
- ThemeServiceGtk::DefaultUsesSystemTheme(),
+ GtkThemeService::DefaultUsesSystemTheme(),
PrefService::UNSYNCABLE_PREF);
#endif
prefs->RegisterFilePathPref(prefs::kCurrentThemePackFilename,
« no previous file with comments | « chrome/browser/speech/speech_recognition_bubble_gtk.cc ('k') | chrome/browser/ui/gtk/avatar_menu_bubble_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698