diff options
author | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-25 17:37:46 +0000 |
---|---|---|
committer | johnnyg@chromium.org <johnnyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-01-25 17:37:46 +0000 |
commit | 5a7e7bdbedc79a502c37eac1fe6ee22d0bd6dd66 (patch) | |
tree | f55baaae4e263538a680e6f7be595b82195b10d6 /chrome/renderer | |
parent | f2fac4cd4fe1f8033c960275a4d2814fa9ef8796 (diff) | |
download | chromium_src-5a7e7bdbedc79a502c37eac1fe6ee22d0bd6dd66.zip chromium_src-5a7e7bdbedc79a502c37eac1fe6ee22d0bd6dd66.tar.gz chromium_src-5a7e7bdbedc79a502c37eac1fe6ee22d0bd6dd66.tar.bz2 |
Make sure notifications are only enabled on GTK builds of linux, since that's what's supported so far.
BUG=23954
TEST=none
Review URL: http://codereview.chromium.org/552122
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37017 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer')
-rw-r--r-- | chrome/renderer/render_thread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/render_thread.cc b/chrome/renderer/render_thread.cc index 4059234..952a053 100644 --- a/chrome/renderer/render_thread.cc +++ b/chrome/renderer/render_thread.cc @@ -617,7 +617,7 @@ void RenderThread::EnsureWebKitInitialized() { WebRuntimeFeatures::enableApplicationCache( command_line.HasSwitch(switches::kEnableApplicationCache)); -#if defined(OS_WIN) || defined(OS_LINUX) +#if defined(OS_WIN) || (defined(OS_LINUX) && defined(TOOLKIT_GTK)) // Notifications are supported on Windows and Linux only. WebRuntimeFeatures::enableNotifications( !command_line.HasSwitch(switches::kDisableDesktopNotifications)); |