mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-04-17 12:17:23 +02:00
- Remove |accept_lang| parameter from CefJSDialogHandler::OnJSDialog and CefFormatUrlForSecurityDisplay (see https://crbug.com/336973#c36). - Remove remaining NPAPI-related code including functions from cef_web_plugin.h (see https://crbug.com/493212#c55). - Mac: 10.7+ deployment target is now required for client applications. - Mac: Remove CefBrowserHost::SetWindowVisibility (issue #1375). No replacement is required for windowed rendering. Use WasHidden for off-screen rendering. - Windows: Visual Studio 2015 Update 2 is now required when building CEF/Chromium.
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 09859f1..0c546e5 100644
|
|
--- render_widget_host_view_mac.mm
|
|
+++ render_widget_host_view_mac.mm
|
|
@@ -537,9 +537,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];
|
|
|