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

Unified Diff: ash/root_window_controller_unittest.cc

Issue 11421006: Desktop aura: Break aura::Window::SetParent in two. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ash_unittests Created 8 years, 1 month 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 | « ash/focus_cycler_unittest.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller_unittest.cc
diff --git a/ash/root_window_controller_unittest.cc b/ash/root_window_controller_unittest.cc
index 37bd96af9bade29519eeb5030f9816b42e80aa77..a1f3c3ec56ed7f2ec8a5f3ef9d31b84017c55c8e 100644
--- a/ash/root_window_controller_unittest.cc
+++ b/ash/root_window_controller_unittest.cc
@@ -147,8 +147,8 @@ TEST_F(RootWindowControllerTest, MoveWindows_Basic) {
// will not crash.
aura::WindowTracker tracker;
DeleteOnBlurDelegate delete_on_blur_delegate;
- aura::Window* d2 = aura::test::CreateTestWindowWithDelegate(
- &delete_on_blur_delegate, 0, gfx::Rect(50, 50, 100, 100), NULL);
+ aura::Window* d2 = CreateTestWindowInShellWithDelegate(
+ &delete_on_blur_delegate, 0, gfx::Rect(50, 50, 100, 100));
delete_on_blur_delegate.set_window(d2);
aura::client::GetFocusClient(root_windows[0])->FocusWindow(d2, NULL);
tracker.Add(d2);
« no previous file with comments | « ash/focus_cycler_unittest.cc ('k') | ash/shell_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698