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

Unified Diff: ash/wm/always_on_top_controller.cc

Issue 2814243002: Removes a couple more functions from WmWindow (Closed)
Patch Set: cleanup Created 3 years, 8 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
Index: ash/wm/always_on_top_controller.cc
diff --git a/ash/wm/always_on_top_controller.cc b/ash/wm/always_on_top_controller.cc
index de8b48ce0ab187036e4159b18d6b9b42ddfecf78..c5eabb3d88f663402c30f0f35fea61b831925455 100644
--- a/ash/wm/always_on_top_controller.cc
+++ b/ash/wm/always_on_top_controller.cc
@@ -15,7 +15,7 @@ namespace ash {
AlwaysOnTopController::AlwaysOnTopController(WmWindow* viewport)
: always_on_top_container_(viewport) {
- DCHECK_NE(kShellWindowId_DefaultContainer, viewport->GetShellWindowId());
+ DCHECK_NE(kShellWindowId_DefaultContainer, viewport->aura_window()->id());
always_on_top_container_->SetLayoutManager(
base::MakeUnique<WorkspaceLayoutManager>(viewport));
// Container should be empty.

Powered by Google App Engine
This is Rietveld 408576698