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

Unified Diff: ui/views/bubble/bubble_delegate_unittest.cc

Issue 23882007: Explicit initialization of aura::Env for browser shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Using stricter ifdefs Created 7 years, 3 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: ui/views/bubble/bubble_delegate_unittest.cc
diff --git a/ui/views/bubble/bubble_delegate_unittest.cc b/ui/views/bubble/bubble_delegate_unittest.cc
index 5cf4a377ec521ae4380d288f3d651bca70993efa..104a9d54d1647c2800336fdb05e85042272ef871 100644
--- a/ui/views/bubble/bubble_delegate_unittest.cc
+++ b/ui/views/bubble/bubble_delegate_unittest.cc
@@ -195,6 +195,7 @@ class BubbleWidgetClosingTest : public BubbleDelegateTest,
public:
BubbleWidgetClosingTest() : bubble_destroyed_(false) {
#if defined(USE_AURA)
+ aura::Env::CreateInstance();
loop_.set_dispatcher(aura::Env::GetInstance()->GetDispatcher());
#endif
}

Powered by Google App Engine
This is Rietveld 408576698