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 4cf0f14cb7f2eb495244eb66ef5dbec438a80b60..d98248680cad2b1994e68b2ae12c5eec45ea068a 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1596,11 +1596,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(); |