summaryrefslogtreecommitdiffstats
path: root/chrome/browser/profile.cc
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-06 20:17:35 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-07-06 20:17:35 +0000
commit0ef42ff9d9de850a881cfa66f96d4217695a2186 (patch)
tree74084f99061b1841a7e6a137939141919b648c9f /chrome/browser/profile.cc
parente8fd29634b3ecedb2fcfa2a6f759f7f7236f367a (diff)
downloadchromium_src-0ef42ff9d9de850a881cfa66f96d4217695a2186.zip
chromium_src-0ef42ff9d9de850a881cfa66f96d4217695a2186.tar.gz
chromium_src-0ef42ff9d9de850a881cfa66f96d4217695a2186.tar.bz2
Fix the current remaining Views-GTK compile and linker errors.
Chrome still doesn't run. Review URL: http://codereview.chromium.org/155026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19977 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/profile.cc')
-rw-r--r--chrome/browser/profile.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/profile.cc b/chrome/browser/profile.cc
index 2e37219..6e0a5a4 100644
--- a/chrome/browser/profile.cc
+++ b/chrome/browser/profile.cc
@@ -912,7 +912,7 @@ bool ProfileImpl::HasCreatedDownloadManager() const {
void ProfileImpl::InitThemes() {
if (!created_theme_provider_) {
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) && !defined(TOOLKIT_VIEWS)
scoped_refptr<BrowserThemeProvider> themes(new GtkThemeProvider);
#else
scoped_refptr<BrowserThemeProvider> themes(new BrowserThemeProvider);