2015-09-22 13:20:04 +02:00
|
|
|
diff --git render_widget_host_view_mac.mm render_widget_host_view_mac.mm
|
2016-02-02 22:32:44 +01:00
|
|
|
index ef38d30..00fb343 100644
|
2015-09-22 13:20:04 +02:00
|
|
|
--- render_widget_host_view_mac.mm
|
|
|
|
+++ render_widget_host_view_mac.mm
|
2015-12-09 17:10:16 +01:00
|
|
|
@@ -530,9 +530,6 @@ RenderWidgetHostViewMac::RenderWidgetHostViewMac(RenderWidgetHost* widget,
|
2015-09-22 13:20:04 +02:00
|
|
|
// 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];
|
|
|
|
|