| 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 60078386bb068c281f82bf56a7bf23718125a432..fcebdae81a5b77886dc21d827d22624193b7aa70 100644
|
| --- a/content/browser/renderer_host/render_widget_host_view_android.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_view_android.cc
|
| @@ -446,6 +446,7 @@ RenderWidgetHostViewAndroid::RenderWidgetHostViewAndroid(
|
| content_view_core_(nullptr),
|
| ime_adapter_android_(this),
|
| cached_background_color_(SK_ColorWHITE),
|
| + view_(this),
|
| last_compositor_frame_sink_id_(kUndefinedCompositorFrameSinkId),
|
| gesture_provider_(ui::GetGestureProviderConfig(
|
| ui::GestureProviderConfigType::CURRENT_PLATFORM),
|
| @@ -722,7 +723,7 @@ gfx::Size RenderWidgetHostViewAndroid::GetPhysicalBackingSize() const {
|
| * ui::GetScaleFactorForNativeView(GetNativeView()));
|
| }
|
|
|
| - return content_view_core_->GetPhysicalBackingSize();
|
| + return view_.GetPhysicalBackingSize();
|
| }
|
|
|
| bool RenderWidgetHostViewAndroid::DoBrowserControlsShrinkBlinkSize() const {
|
| @@ -807,6 +808,11 @@ void RenderWidgetHostViewAndroid::SetNeedsBeginFrames(bool needs_begin_frames) {
|
| outstanding_vsync_requests_ &= ~PERSISTENT_BEGIN_FRAME;
|
| }
|
|
|
| +void RenderWidgetHostViewAndroid::OnPhysicalBackingSizeChanged(int width,
|
| + int height) {
|
| + WasResized();
|
| +}
|
| +
|
| void RenderWidgetHostViewAndroid::OnStartContentIntent(
|
| const GURL& content_url, bool is_main_frame) {
|
| if (content_view_core_)
|
|
|