Chromium Code Reviews| Index: ui/views/cocoa/native_widget_mac_nswindow.mm |
| diff --git a/ui/views/cocoa/native_widget_mac_nswindow.mm b/ui/views/cocoa/native_widget_mac_nswindow.mm |
| index 0f077fe12b65c90ba4126e6ba6496e134b0071f7..6bd782a6a4d50596604ae490ab8c6b628e87c4d7 100644 |
| --- a/ui/views/cocoa/native_widget_mac_nswindow.mm |
| +++ b/ui/views/cocoa/native_widget_mac_nswindow.mm |
| @@ -41,6 +41,7 @@ |
| styleMask:windowStyle |
| backing:bufferingType |
| defer:deferCreation])) { |
| + static_cast<NSView*>(self.contentView).wantsLayer = YES; |
|
tapted
2017/01/13 00:22:37
ooh neat - I think this might fix http://crbug.com
|
| commandDispatcher_.reset([[CommandDispatcher alloc] initWithOwner:self]); |
| } |
| return self; |