Index: content/browser/renderer_host/render_widget_host_view_android.cc |
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc |
index 96373173831c255da3aacce104bfc8d618fc552c..de560f1ca484daf711d5c245241510b87cf09d67 100644 |
--- a/content/browser/renderer_host/render_widget_host_view_android.cc |
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc |
@@ -280,6 +280,13 @@ gfx::Rect RenderWidgetHostViewAndroid::GetViewBounds() const { |
return gfx::Rect(content_view_core_->GetViewportSizeDip()); |
} |
+gfx::Size RenderWidgetHostViewAndroid::GetPhysicalBackingSize() const { |
+ if (!content_view_core_) |
+ return gfx::Size(); |
+ |
+ return content_view_core_->GetViewportSizePix(); |
+} |
+ |
void RenderWidgetHostViewAndroid::UpdateCursor(const WebCursor& cursor) { |
// There are no cursors on Android. |
} |