Index: ash/wm/panels/panel_layout_manager.h |
diff --git a/ash/wm/panels/panel_layout_manager.h b/ash/wm/panels/panel_layout_manager.h |
index 0a798243ba234dae45e1e57474f9ad379a934224..04fa5898bd84cec554b46e6096caf76fb5d1aea0 100644 |
--- a/ash/wm/panels/panel_layout_manager.h |
+++ b/ash/wm/panels/panel_layout_manager.h |
@@ -152,6 +152,8 @@ class ASH_EXPORT PanelLayoutManager |
// Parent window associated with this layout manager. |
aura::Window* panel_container_; |
+ // Protect against recursive calls to OnWindowAddedToLayout(). |
+ bool in_add_window_; |
// Protect against recursive calls to Relayout(). |
bool in_layout_; |
// Ordered list of unowned pointers to panel windows. |