summaryrefslogtreecommitdiffstats
path: root/chrome/browser/render_widget_host_view_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/render_widget_host_view_win.cc')
-rw-r--r--chrome/browser/render_widget_host_view_win.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/render_widget_host_view_win.cc b/chrome/browser/render_widget_host_view_win.cc
index 4fd0f18..0aa756d 100644
--- a/chrome/browser/render_widget_host_view_win.cc
+++ b/chrome/browser/render_widget_host_view_win.cc
@@ -79,7 +79,8 @@ RenderWidgetHostViewWin::RenderWidgetHostViewWin(RenderWidgetHost* widget)
activatable_(true) {
render_widget_host_->set_view(this);
renderer_accessible_ =
- CommandLine().HasSwitch(switches::kEnableRendererAccessibility);
+ CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableRendererAccessibility);
}
RenderWidgetHostViewWin::~RenderWidgetHostViewWin() {