Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Unified Diff: ui/views/cocoa/native_widget_mac_nswindow.mm

Issue 2622083007: MacViews: Make window content views layer-backed. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698