summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome__test__testing_profile.cc
blob: 576e689b13b7d6a265260b7c7afbacf9a7669b2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- chrome/test/testing_profile.cc.orig	2011-01-26 10:31:06.000000000 +0100
+++ chrome/test/testing_profile.cc	2011-01-30 14:14:21.000000000 +0100
@@ -49,7 +49,7 @@
 #include "testing/gmock/include/gmock/gmock.h"
 #include "webkit/database/database_tracker.h"
 
-#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
+#if defined(TOOLKIT_GTK) && !defined(TOOLKIT_VIEWS)
 #include "chrome/browser/ui/gtk/gtk_theme_provider.h"
 #endif
 
@@ -371,7 +371,7 @@
 
 void TestingProfile::InitThemes() {
   if (!created_theme_provider_) {
-#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
+#if defined(TOOLKIT_GTK) && !defined(TOOLKIT_VIEWS)
     theme_provider_.reset(new GtkThemeProvider);
 #else
     theme_provider_.reset(new BrowserThemeProvider);