Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 8285c45075692350cc627ff5723d2ef43427207e..b49e302aadd2f68daf1175c1d991c66dac644f12 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -1131,9 +1131,7 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs, |
prefs.rubber_banding_on_compositor_thread); |
settings->setUseSolidColorScrollbars(prefs.use_solid_color_scrollbars); |
-#if defined(OS_WIN) |
- settings->setShowContextMenuOnMouseUp(true); |
-#endif |
+ settings->setShowContextMenuOnMouseUp(prefs.context_menu_on_mouse_up); |
#if defined(OS_MACOSX) |
settings->setDoubleTapToZoomEnabled(true); |