Index: ash/shell_unittest.cc |
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc |
index 1931a7304cced4d4f08709aed803517807e946bd..b0f6b261ea50087abb6f5fb5352e8b90c0099b30 100644 |
--- a/ash/shell_unittest.cc |
+++ b/ash/shell_unittest.cc |
@@ -445,7 +445,7 @@ TEST_F(ShellTest, ToggleAutoHide) { |
scoped_ptr<aura::Window> window(new aura::Window(NULL)); |
window->SetProperty(aura::client::kShowStateKey, ui::SHOW_STATE_NORMAL); |
window->SetType(ui::wm::WINDOW_TYPE_NORMAL); |
- window->Init(aura::WINDOW_LAYER_TEXTURED); |
+ window->Init(ui::LAYER_TEXTURED); |
ParentWindowInPrimaryRootWindow(window.get()); |
window->Show(); |
wm::ActivateWindow(window.get()); |
@@ -522,7 +522,7 @@ class ShellTest2 : public test::AshTestBase { |
TEST_F(ShellTest2, DontCrashWhenWindowDeleted) { |
window_.reset(new aura::Window(NULL)); |
- window_->Init(aura::WINDOW_LAYER_NOT_DRAWN); |
+ window_->Init(ui::LAYER_NOT_DRAWN); |
} |
} // namespace ash |