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 7bb64e595952a639692cc6feb6d0050514cee258..db9332aa16be65f1d89fb3da2cca12cfae54b885 100644 |
--- a/content/browser/renderer_host/render_widget_host_impl.cc |
+++ b/content/browser/renderer_host/render_widget_host_impl.cc |
@@ -1611,6 +1611,9 @@ void RenderWidgetHostImpl::OnSetCursor(const WebCursor& cursor) { |
void RenderWidgetHostImpl::OnSetTouchEventEmulationEnabled( |
bool enabled, bool allow_pinch) { |
+ if (delegate_) |
+ delegate_->OnTouchEmulationEnabled(enabled); |
+ |
if (enabled) { |
if (!touch_emulator_) |
touch_emulator_.reset(new TouchEmulator(this)); |