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

Unified Diff: ash/wm/visibility_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/wm/video_detector_unittest.cc ('k') | ash/wm/window_animations_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/visibility_controller_unittest.cc
diff --git a/ash/wm/visibility_controller_unittest.cc b/ash/wm/visibility_controller_unittest.cc
index 8a2f0281f2f2644dc0ef851a93b544792d3e6f72..a385edcd24790e8ae065de62fe2b430e58ad0f07 100644
--- a/ash/wm/visibility_controller_unittest.cc
+++ b/ash/wm/visibility_controller_unittest.cc
@@ -22,8 +22,7 @@ TEST_F(VisibilityControllerTest, AnimateHideDoesntHideWindowLayer) {
// We cannot disable animations for this test.
ui::LayerAnimator::set_disable_animations_for_test(false);
- scoped_ptr<aura::Window> container(
- aura::test::CreateTestWindowWithId(-1, NULL));
+ scoped_ptr<aura::Window> container(CreateTestWindowInShellWithId(-1));
SetChildWindowVisibilityChangesAnimated(container.get());
aura::test::TestWindowDelegate d;
« no previous file with comments | « ash/wm/video_detector_unittest.cc ('k') | ash/wm/window_animations_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698