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

Unified Diff: content/browser/web_contents/aura/window_slider_unittest.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
Index: content/browser/web_contents/aura/window_slider_unittest.cc
diff --git a/content/browser/web_contents/aura/window_slider_unittest.cc b/content/browser/web_contents/aura/window_slider_unittest.cc
index a389c53651f3edd29ce6de1d03837ef5b318d303..ad32c6d901a9a3bb822e4c956d1a7f7138633069 100644
--- a/content/browser/web_contents/aura/window_slider_unittest.cc
+++ b/content/browser/web_contents/aura/window_slider_unittest.cc
@@ -36,7 +36,7 @@ void ChangeSliderOwnerDuringScrollCallback(scoped_ptr<aura::Window>* window,
if (type != ui::ET_GESTURE_SCROLL_UPDATE)
return;
aura::Window* new_window = new aura::Window(NULL);
- new_window->Init(ui::LAYER_TEXTURED);
+ new_window->Init(aura::WINDOW_LAYER_TEXTURED);
new_window->Show();
slider->ChangeOwner(new_window);
(*window)->parent()->AddChild(new_window);

Powered by Google App Engine
This is Rietveld 408576698