Index: ash/aura/wm_window_aura.cc |
diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc |
index c2f486e8312f60bb3842fa179260c1b71e7c2343..a8423f49480402e0ad380c715cccedcba45f5c3b 100644 |
--- a/ash/aura/wm_window_aura.cc |
+++ b/ash/aura/wm_window_aura.cc |
@@ -8,6 +8,7 @@ |
#include "ash/aura/aura_layout_manager_adapter.h" |
#include "ash/aura/wm_root_window_controller_aura.h" |
#include "ash/aura/wm_shell_aura.h" |
+#include "ash/common/shell_window_ids.h" |
#include "ash/common/wm/window_state.h" |
#include "ash/common/wm_layout_manager.h" |
#include "ash/common/wm_window_observer.h" |
@@ -44,6 +45,9 @@ namespace ash { |
DEFINE_OWNED_WINDOW_PROPERTY_KEY(ash::WmWindowAura, kWmWindowKey, nullptr); |
+static_assert(aura::Window::kInitialId == kShellWindowId_Invalid, |
+ "ids must match"); |
+ |
namespace { |
// A tentative class to set the bounds on the window. |