mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-29 10:39:49 +01:00
15 lines
514 B
Diff
15 lines
514 B
Diff
diff --git render_widget_host_view_guest.cc render_widget_host_view_guest.cc
|
|
index f5a04c4c..cdd4b1f 100644
|
|
--- 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();
|
|
}
|
|
|