Index: content/browser/renderer_host/render_widget_host_impl.cc |
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc |
index 8513644817c5e9004456b687bf0a6c2b779f8ea4..2d695c3d0d42b804dcc5c9295ac012a97d1f70dd 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1587,11 +1587,12 @@ void RenderWidgetHostImpl::OnSetCursor(const WebCursor& cursor) { |
SetCursor(cursor); |
} |
-void RenderWidgetHostImpl::SetTouchEventEmulationEnabled(bool enabled) { |
+void RenderWidgetHostImpl::SetTouchEventEmulationEnabled( |
+ bool enabled, ui::GestureProviderConfigType config_type) { |
if (enabled) { |
if (!touch_emulator_) |
touch_emulator_.reset(new TouchEmulator(this)); |
- touch_emulator_->Enable(); |
+ touch_emulator_->Enable(config_type); |
} else { |
if (touch_emulator_) |
touch_emulator_->Disable(); |