mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-01-29 10:39:49 +01:00
9af98fab45
- Mac: 10.10 SDK is now required for building (see http://crbug.com/463170#c63). Older SDKs can be used for a short time by setting mac_sdk_min via GYP_DEFINES.
15 lines
513 B
Diff
15 lines
513 B
Diff
diff --git render_widget_host_view_guest.cc render_widget_host_view_guest.cc
|
|
index dc6789f..70edd0e 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();
|
|
}
|
|
|