Index: ash/common/accelerators/debug_commands.cc |
diff --git a/ash/common/accelerators/debug_commands.cc b/ash/common/accelerators/debug_commands.cc |
index 60a91e3f715d6b627b794b50f255fda51bd302c8..edb9adcb085255a945ce84c9418282440765858a 100644 |
--- a/ash/common/accelerators/debug_commands.cc |
+++ b/ash/common/accelerators/debug_commands.cc |
@@ -13,9 +13,9 @@ |
#include "ash/common/wallpaper/wallpaper_delegate.h" |
#include "ash/common/wm/maximize_mode/maximize_mode_controller.h" |
#include "ash/common/wm_shell.h" |
-#include "ash/common/wm_window.h" |
#include "ash/root_window_controller.h" |
#include "ash/shell.h" |
+#include "ash/wm/widget_finder.h" |
#include "ash/wm/window_properties.h" |
#include "ash/wm/window_util.h" |
#include "base/command_line.h" |
@@ -48,7 +48,7 @@ void HandlePrintViewHierarchy() { |
aura::Window* active_window = wm::GetActiveWindow(); |
if (!active_window) |
return; |
- views::Widget* widget = WmWindow::Get(active_window)->GetInternalWidget(); |
+ views::Widget* widget = GetInternalWidgetForWindow(active_window); |
if (!widget) |
return; |
views::PrintViewHierarchy(widget->GetRootView()); |