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

Unified Diff: ash/wm/screen_dimmer_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/screen_dimmer_unittest.cc
diff --git a/ash/wm/screen_dimmer_unittest.cc b/ash/wm/screen_dimmer_unittest.cc
index 709886f738be2e07edcb986af69f8b8416e570f8..24bd2b042915446e90aa51a52adac727f47372f8 100644
--- a/ash/wm/screen_dimmer_unittest.cc
+++ b/ash/wm/screen_dimmer_unittest.cc
@@ -9,7 +9,6 @@
#include "ash/common/wm/window_dimmer.h"
#include "ash/common/wm_shell.h"
#include "ash/common/wm_window.h"
-#include "ash/common/wm_window_user_data.h"
#include "ash/root_window_controller.h"
#include "ash/shell.h"
#include "ash/test/ash_test_base.h"
@@ -37,9 +36,8 @@ class ScreenDimmerTest : public AshTestBase {
aura::Window* GetDimWindow() {
WindowDimmer* window_dimmer =
- dimmer_->window_dimmers_->Get(WmShell::Get()->GetPrimaryRootWindow());
- return window_dimmer ? WmWindow::GetAuraWindow(window_dimmer->window())
- : nullptr;
+ ScreenDimmer::GetWindowDimmer(Shell::GetPrimaryRootWindow());
+ return window_dimmer ? window_dimmer->window() : nullptr;
}
ui::Layer* GetDimWindowLayer() {

Powered by Google App Engine
This is Rietveld 408576698