mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-02-03 04:27:43 +01:00
243a9c26d7
- Delete include/cef_runnable.h (issue #1336). - Build the cef_unittests target using all Chromium headers. Add a USING_CHROMIUM_INCLUDES define and libcef_dll_wrapper_unittests target to support this. This change avoids compile errors due to the divergence of CEF and Chromium base/ header implementations. The libcef_dll_wrapper sources must now compile successfully with both CEF and Chromium base/ headers (issue #1632). - The onbeforeunload message specified via JavaScript is no longer passed to the client (see http://crbug.com/587940).
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 1312e52..3d1656c 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();
|
|
}
|
|
|