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. |