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

Unified Diff: ui/aura/test/aura_test_base.cc

Issue 121773003: Makes Window::Init take a WindowLayerType instead of LayerType. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to master Created 6 years, 11 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
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/test/test_windows.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/aura_test_base.cc
diff --git a/ui/aura/test/aura_test_base.cc b/ui/aura/test/aura_test_base.cc
index 3b2d1b05fa4b0e7eb05325ae212c6964eb0e5140..ed8f51252db440311892473a33c1323de5402b67 100644
--- a/ui/aura/test/aura_test_base.cc
+++ b/ui/aura/test/aura_test_base.cc
@@ -90,7 +90,7 @@ Window* AuraTestBase::CreateNormalWindow(int id, Window* parent,
delegate ? delegate :
test::TestWindowDelegate::CreateSelfDestroyingDelegate());
window->set_id(id);
- window->Init(ui::LAYER_TEXTURED);
+ window->Init(aura::WINDOW_LAYER_TEXTURED);
parent->AddChild(window);
window->SetBounds(gfx::Rect(0, 0, 100, 100));
window->Show();
« no previous file with comments | « ui/aura/demo/demo_main.cc ('k') | ui/aura/test/test_windows.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698