2015-08-19 21:40:38 +02:00
|
|
|
diff --git render_widget_host_view_guest.cc render_widget_host_view_guest.cc
|
2015-12-09 17:10:16 +01:00
|
|
|
index 8971b07f..f37aa2a 100644
|
2015-08-19 21:40:38 +02:00
|
|
|
--- render_widget_host_view_guest.cc
|
|
|
|
+++ render_widget_host_view_guest.cc
|
|
|
|
@@ -191,6 +191,9 @@ void RenderWidgetHostViewGuest::Destroy() {
|
|
|
|
}
|
|
|
|
|
|
|
|
gfx::Size RenderWidgetHostViewGuest::GetPhysicalBackingSize() const {
|
|
|
|
+ RenderWidgetHostViewBase* rwhv = GetOwnerRenderWidgetHostView();
|
|
|
|
+ if (rwhv)
|
|
|
|
+ return rwhv->GetPhysicalBackingSize();
|
|
|
|
return RenderWidgetHostViewBase::GetPhysicalBackingSize();
|
|
|
|
}
|
|
|
|
|