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

Unified Diff: chrome/test/base/view_event_test_base.cc

Issue 17127002: Correctly integrate StoragePartition into TestingProfile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup TODOs. merge code. kill more threads. i never get tired of thread carnage. Created 7 years, 5 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: chrome/test/base/view_event_test_base.cc
diff --git a/chrome/test/base/view_event_test_base.cc b/chrome/test/base/view_event_test_base.cc
index 62a7b4e7607bc90cf74818a74e4191e5c9f8d79c..0ab94ade630c865eb01b4b6991f7f8b3c40d74ff 100644
--- a/chrome/test/base/view_event_test_base.cc
+++ b/chrome/test/base/view_event_test_base.cc
@@ -70,8 +70,7 @@ const int kMouseMoveDelayMS = 200;
ViewEventTestBase::ViewEventTestBase()
: window_(NULL),
- content_view_(NULL),
- ui_thread_(content::BrowserThread::UI, &message_loop_) {
+ content_view_(NULL) {
}
void ViewEventTestBase::Done() {
@@ -114,7 +113,8 @@ void ViewEventTestBase::SetUp() {
#elif defined(USE_AURA)
// Instead of using the ash shell, use an AuraTestHelper to create and manage
// the test screen.
- aura_test_helper_.reset(new aura::test::AuraTestHelper(&message_loop_));
+ aura_test_helper_.reset(
+ new aura::test::AuraTestHelper(base::MessageLoopForUI::current()));
aura_test_helper_->SetUp();
context = aura_test_helper_->root_window();
#endif

Powered by Google App Engine
This is Rietveld 408576698