| Index: content/browser/android/content_view_render_view.cc
|
| diff --git a/content/browser/android/content_view_render_view.cc b/content/browser/android/content_view_render_view.cc
|
| index 1bd5d25c5a0ea0fdffbb06f6a6dab6823f1b99fe..8c4d4d3c0917815ad233cb69854eca86a92732e6 100644
|
| --- a/content/browser/android/content_view_render_view.cc
|
| +++ b/content/browser/android/content_view_render_view.cc
|
| @@ -71,6 +71,17 @@ void ContentViewRenderView::SetCurrentWebContents(
|
| : scoped_refptr<cc::Layer>());
|
| }
|
|
|
| +void ContentViewRenderView::OnPhysicalBackingSizeChanged(
|
| + JNIEnv* env,
|
| + const JavaParamRef<jobject>& obj,
|
| + const JavaParamRef<jobject>& jweb_contents,
|
| + jint width,
|
| + jint height) {
|
| + WebContents* web_contents = WebContents::FromJavaWebContents(jweb_contents);
|
| + gfx::Size size(width, height);
|
| + web_contents->GetNativeView()->OnPhysicalBackingSizeChanged(size);
|
| +}
|
| +
|
| void ContentViewRenderView::SurfaceCreated(JNIEnv* env,
|
| const JavaParamRef<jobject>& obj) {
|
| current_surface_format_ = 0;
|
|
|