diff options
Diffstat (limited to 'chrome/test')
-rw-r--r-- | chrome/test/base/browser_with_test_window_test.cc | 3 | ||||
-rw-r--r-- | chrome/test/base/view_event_test_base.cc | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/chrome/test/base/browser_with_test_window_test.cc b/chrome/test/base/browser_with_test_window_test.cc index 296e263..0ec7d96 100644 --- a/chrome/test/base/browser_with_test_window_test.cc +++ b/chrome/test/base/browser_with_test_window_test.cc @@ -59,7 +59,8 @@ void BrowserWithTestWindowTest::SetUp() { #elif defined(USE_AURA) aura_test_helper_.reset(new aura::test::AuraTestHelper( base::MessageLoopForUI::current())); - aura_test_helper_->SetUp(); + bool allow_test_contexts = true; + aura_test_helper_->SetUp(allow_test_contexts); #endif // USE_AURA #if defined(TOOLKIT_VIEWS) views_delegate_.reset(CreateViewsDelegate()); diff --git a/chrome/test/base/view_event_test_base.cc b/chrome/test/base/view_event_test_base.cc index be058ef2..8d4f9ca 100644 --- a/chrome/test/base/view_event_test_base.cc +++ b/chrome/test/base/view_event_test_base.cc @@ -141,7 +141,8 @@ void ViewEventTestBase::SetUp() { // the test screen. aura_test_helper_.reset( new aura::test::AuraTestHelper(base::MessageLoopForUI::current())); - aura_test_helper_->SetUp(); + bool allow_test_contexts = true; + aura_test_helper_->SetUp(allow_test_contexts); context = aura_test_helper_->root_window(); #endif // !USE_ASH && USE_AURA |