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

Unified Diff: ash/wm/overview/scoped_transform_overview_window.cc

Issue 2893643003: [mus+ash] Removes WmWindow from ash/wm/window_cycle_* (Closed)
Patch Set: [mus+ash] Removes WmWindow from ash/wm/window_cycle_* (nits) Created 3 years, 7 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 | ash/wm/window_cycle_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/overview/scoped_transform_overview_window.cc
diff --git a/ash/wm/overview/scoped_transform_overview_window.cc b/ash/wm/overview/scoped_transform_overview_window.cc
index 71ac284ed22c5fb151b76d29345a37048ca2bcdf..39a50cc0a36dfcdc2b38539d01fbc084e0645bc6 100644
--- a/ash/wm/overview/scoped_transform_overview_window.cc
+++ b/ash/wm/overview/scoped_transform_overview_window.cc
@@ -11,6 +11,7 @@
#include "ash/wm/overview/scoped_overview_animation_settings.h"
#include "ash/wm/overview/scoped_overview_animation_settings_factory.h"
#include "ash/wm/overview/window_selector_item.h"
+#include "ash/wm/window_mirror_view.h"
#include "ash/wm/window_state.h"
#include "ash/wm_window.h"
#include "base/macros.h"
@@ -488,7 +489,7 @@ void ScopedTransformOverviewWindow::CreateMirrorWindowForMinimizedState() {
minimized_widget_->set_focus_on_creation(false);
minimized_widget_->Init(params);
- views::View* mirror_view = window_->CreateViewWithRecreatedLayers().release();
+ views::View* mirror_view = new wm::WindowMirrorView(window_->aura_window());
mirror_view->SetVisible(true);
mirror_view->SetTargetHandler(this);
minimized_widget_->SetContentsView(mirror_view);
« no previous file with comments | « no previous file | ash/wm/window_cycle_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698