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

Unified Diff: chrome/browser/ui/ash/window_positioner_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
Index: chrome/browser/ui/ash/window_positioner_unittest.cc
diff --git a/chrome/browser/ui/ash/window_positioner_unittest.cc b/chrome/browser/ui/ash/window_positioner_unittest.cc
index ec95cb450434d610d7ced43999b70a7d143f67ce..4f5b81e45025e22c5d8806000b7cf15847170215 100644
--- a/chrome/browser/ui/ash/window_positioner_unittest.cc
+++ b/chrome/browser/ui/ash/window_positioner_unittest.cc
@@ -121,11 +121,11 @@ WindowPositionerTest::~WindowPositionerTest() {
void WindowPositionerTest::SetUp() {
AshTestBase::SetUp();
// Create some default dummy windows.
- window_.reset(aura::test::CreateTestWindowWithId(0, NULL));
+ window_.reset(CreateTestWindowInShellWithId(0));
window_->SetBounds(gfx::Rect(16, 32, 640, 320));
- popup_.reset(aura::test::CreateTestWindowWithId(1, NULL));
+ popup_.reset(CreateTestWindowInShellWithId(1));
popup_->SetBounds(gfx::Rect(16, 32, 128, 256));
- panel_.reset(aura::test::CreateTestWindowWithId(2, NULL));
+ panel_.reset(CreateTestWindowInShellWithId(2));
panel_->SetBounds(gfx::Rect(32, 48, 256, 512));
// Create a browser for the window.

Powered by Google App Engine
This is Rietveld 408576698