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

Unified Diff: ui/views/view.cc

Issue 2458833003: Revert of [M55] Generalize layer mirroring for phantom windows (Closed)
Patch Set: Created 4 years, 2 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 | « ui/views/cocoa/bridged_native_widget.mm ('k') | ui/views/view_unittest_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.cc
diff --git a/ui/views/view.cc b/ui/views/view.cc
index a57d82f97dbbf8e60548cb5f586dcd36ef9add9a..10c503c9cf4fb7d9fa9d891c120410c018f21125 100644
--- a/ui/views/view.cc
+++ b/ui/views/view.cc
@@ -2083,7 +2083,7 @@
for (int i = 0, count = child_count(); i < count; ++i)
child_at(i)->UpdateChildLayerVisibility(true);
- SetLayer(base::MakeUnique<ui::Layer>());
+ SetLayer(new ui::Layer());
layer()->set_delegate(this);
layer()->set_name(GetClassName());
« no previous file with comments | « ui/views/cocoa/bridged_native_widget.mm ('k') | ui/views/view_unittest_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698