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

Unified Diff: ash/wm/system_modal_container_layout_manager_unittest.cc

Issue 2735983006: Renames WmWindowUserData and converts to using aura (Closed)
Patch Set: more cleanup Created 3 years, 9 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/system_modal_container_layout_manager_unittest.cc
diff --git a/ash/wm/system_modal_container_layout_manager_unittest.cc b/ash/wm/system_modal_container_layout_manager_unittest.cc
index fc1c3aeb155fd3662d46c87dfcf75da35e033b77..e5a59844d083c41324227489040600ac9561dabd 100644
--- a/ash/wm/system_modal_container_layout_manager_unittest.cc
+++ b/ash/wm/system_modal_container_layout_manager_unittest.cc
@@ -48,12 +48,12 @@ aura::Window* GetModalContainer() {
}
bool AllRootWindowsHaveModalBackgroundsForContainer(int container_id) {
- WmWindow::Windows containers =
+ aura::Window::Windows containers =
wm::GetContainersFromAllRootWindows(container_id);
bool has_modal_screen = !containers.empty();
- for (WmWindow* container : containers) {
+ for (aura::Window* container : containers) {
has_modal_screen &= static_cast<SystemModalContainerLayoutManager*>(
- container->GetLayoutManager())
+ WmWindow::Get(container)->GetLayoutManager())
->has_window_dimmer();
}
return has_modal_screen;

Powered by Google App Engine
This is Rietveld 408576698