mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-04-02 13:20:23 +02:00
- 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
715 B
Diff
15 lines
715 B
Diff
diff --git render_widget_host_view_mac.mm render_widget_host_view_mac.mm
|
|
index 96e472e..4d61084 100644
|
|
--- render_widget_host_view_mac.mm
|
|
+++ render_widget_host_view_mac.mm
|
|
@@ -534,9 +534,6 @@ RenderWidgetHostViewMac::RenderWidgetHostViewMac(RenderWidgetHost* widget,
|
|
// Paint this view host with |background_color_| when there is no content
|
|
// ready to draw.
|
|
background_layer_.reset([[CALayer alloc] init]);
|
|
- // Set the default color to be white. This is the wrong thing to do, but many
|
|
- // UI components expect this view to be opaque.
|
|
- [background_layer_ setBackgroundColor:CGColorGetConstantColor(kCGColorWhite)];
|
|
[cocoa_view_ setLayer:background_layer_];
|
|
[cocoa_view_ setWantsLayer:YES];
|
|
|