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

Unified Diff: athena/activity/activity_manager_unittest.cc

Issue 662763002: Support modal windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: fix leaks Created 6 years, 2 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 | « no previous file | athena/athena.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: athena/activity/activity_manager_unittest.cc
diff --git a/athena/activity/activity_manager_unittest.cc b/athena/activity/activity_manager_unittest.cc
index 0ed2a9ab0dfb2605033de6bcc9c8a3afa2a7c04b..37f73f6bfc099661add28f4074a8148bfbd0b996 100644
--- a/athena/activity/activity_manager_unittest.cc
+++ b/athena/activity/activity_manager_unittest.cc
@@ -7,6 +7,7 @@
#include "athena/activity/public/activity.h"
#include "athena/activity/public/activity_factory.h"
#include "athena/test/base/athena_test_base.h"
+#include "athena/test/base/test_windows.h"
#include "ui/aura/window.h"
namespace athena {
@@ -53,7 +54,7 @@ TEST_F(ActivityManagerTest, GetActivityForWindow) {
EXPECT_EQ(NULL, manager->GetActivityForWindow(NULL));
- scoped_ptr<aura::Window> window = CreateTestWindow(NULL, gfx::Rect());
+ scoped_ptr<aura::Window> window = test::CreateNormalWindow(NULL, NULL);
EXPECT_EQ(NULL, manager->GetActivityForWindow(window.get()));
}
« no previous file with comments | « no previous file | athena/athena.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698