Index: ui/aura/window_unittest.cc |
diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc |
index a3a781d01ba5ae88a18b6417eb1968dde0b8b940..c6c3f445f5644bfcefe631f281df06c682c0b8d4 100644 |
--- a/ui/aura/window_unittest.cc |
+++ b/ui/aura/window_unittest.cc |
@@ -181,11 +181,11 @@ TEST_F(WindowTest, GetChildById) { |
// and not containing NULL or parents. |
TEST_F(WindowTest, Contains) { |
Window parent(NULL); |
- parent.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ parent.Init(ui::Layer::LAYER_NOT_DRAWN); |
Window child1(NULL); |
- child1.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ child1.Init(ui::Layer::LAYER_NOT_DRAWN); |
Window child2(NULL); |
- child2.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ child2.Init(ui::Layer::LAYER_NOT_DRAWN); |
child1.SetParent(&parent); |
child2.SetParent(&child1); |
@@ -213,7 +213,7 @@ TEST_F(WindowTest, ConvertPointToWindow) { |
TEST_F(WindowTest, HitTest) { |
Window w1(new ColorTestWindowDelegate(SK_ColorWHITE)); |
w1.set_id(1); |
- w1.Init(ui::Layer::LAYER_HAS_TEXTURE); |
+ w1.Init(ui::Layer::LAYER_TEXTURED); |
w1.SetBounds(gfx::Rect(10, 10, 50, 50)); |
w1.Show(); |
w1.SetParent(NULL); |
@@ -341,11 +341,11 @@ TEST_F(WindowTest, OrphanedBeforeOnDestroyed) { |
// Make sure StackChildAtTop moves both the window and layer to the front. |
TEST_F(WindowTest, StackChildAtTop) { |
Window parent(NULL); |
- parent.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ parent.Init(ui::Layer::LAYER_NOT_DRAWN); |
Window child1(NULL); |
- child1.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ child1.Init(ui::Layer::LAYER_NOT_DRAWN); |
Window child2(NULL); |
- child2.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ child2.Init(ui::Layer::LAYER_NOT_DRAWN); |
child1.SetParent(&parent); |
child2.SetParent(&parent); |
@@ -368,13 +368,13 @@ TEST_F(WindowTest, StackChildAtTop) { |
// Various assertions for StackChildAbove. |
TEST_F(WindowTest, StackChildAbove) { |
Window parent(NULL); |
- parent.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ parent.Init(ui::Layer::LAYER_NOT_DRAWN); |
Window child1(NULL); |
- child1.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ child1.Init(ui::Layer::LAYER_NOT_DRAWN); |
Window child2(NULL); |
- child2.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ child2.Init(ui::Layer::LAYER_NOT_DRAWN); |
Window child3(NULL); |
- child3.Init(ui::Layer::LAYER_HAS_NO_TEXTURE); |
+ child3.Init(ui::Layer::LAYER_NOT_DRAWN); |
child1.SetParent(&parent); |
child2.SetParent(&parent); |