Index: content/browser/devtools/devtools_frontend_host_impl.cc |
diff --git a/content/browser/devtools/devtools_frontend_host_impl.cc b/content/browser/devtools/devtools_frontend_host_impl.cc |
index 6d3c658936fd4aeaeb740557dc6c7b458e5bfd8f..cef0ecb2f9d52d5729b40883a405a7d9326a32bd 100644 |
--- a/content/browser/devtools/devtools_frontend_host_impl.cc |
+++ b/content/browser/devtools/devtools_frontend_host_impl.cc |
@@ -4,6 +4,8 @@ |
#include "content/browser/devtools/devtools_frontend_host_impl.h" |
+#include "content/browser/frame_host/render_frame_host_impl.h" |
+#include "content/browser/renderer_host/render_widget_host_impl.h" |
#include "content/common/devtools_messages.h" |
#include "content/public/browser/navigation_entry.h" |
#include "content/public/browser/render_frame_host.h" |
@@ -31,6 +33,11 @@ DevToolsFrontendHostImpl::DevToolsFrontendHostImpl( |
DevToolsFrontendHostImpl::~DevToolsFrontendHostImpl() { |
} |
+void DevToolsFrontendHostImpl::RenderFrameCreated(RenderFrameHost* rfh) { |
+ static_cast<RenderFrameHostImpl*>(rfh)->GetRenderWidgetHost()-> |
+ DisableElasticOverscroll(); |
+} |
+ |
bool DevToolsFrontendHostImpl::OnMessageReceived( |
const IPC::Message& message, |
RenderFrameHost* render_frame_host) { |