Index: content/browser/android/content_view_core_impl.cc |
diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc |
index 8e70cd60e91e6a41b20c69ef0274268b5781b76f..ed5fd3ea2f9d926433cdd18d70ddd159b1ce144f 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -42,6 +42,7 @@ |
#include "content/public/browser/browser_thread.h" |
#include "content/public/browser/favicon_status.h" |
#include "content/public/browser/render_frame_host.h" |
+#include "content/public/browser/render_view_host.h" |
#include "content/public/browser/screen_orientation_provider.h" |
#include "content/public/browser/ssl_host_state_delegate.h" |
#include "content/public/browser/web_contents.h" |
@@ -1409,7 +1410,7 @@ void ContentViewCoreImpl::ExtractSmartClipData(JNIEnv* env, |
static_cast<int>((height > 0 && height < dpi_scale()) ? |
1 : (int)(height / dpi_scale()))); |
GetWebContents()->Send(new ViewMsg_ExtractSmartClipData( |
- GetWebContents()->GetRoutingID(), rect)); |
+ GetWebContents()->GetRenderViewHost()->GetRoutingID(), rect)); |
} |
jint ContentViewCoreImpl::GetCurrentRenderProcessId( |