Index: chrome/renderer/render_thread.cc |
=================================================================== |
--- chrome/renderer/render_thread.cc (revision 30646) |
+++ chrome/renderer/render_thread.cc (working copy) |
@@ -528,6 +528,12 @@ |
WebRuntimeFeatures::enableDatabase( |
command_line.HasSwitch(switches::kEnableDatabases)); |
+ |
+#if defined(OS_WIN) |
+ // We don't yet support notifications on non-Windows, so hide it from pages. |
+ WebRuntimeFeatures::enableNotifications( |
+ command_line.HasSwitch(switches::kEnableDesktopNotifications)); |
+#endif |
} |
void RenderThread::IdleHandler() { |