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 141e1f5981722ec7c5fea04450f105455eae84b1..c49c4008940edc5f8ebf6c74c1c10ffca2da0fe4 100644 |
--- a/content/browser/android/content_view_core_impl.cc |
+++ b/content/browser/android/content_view_core_impl.cc |
@@ -41,6 +41,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" |
@@ -1399,7 +1400,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( |