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

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

Issue 149743006: Fix crash of OmniboxViewViewsTest.SelectAllOnClick on Linux Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 066d0b92be03de04579283206c6df29f3d4db97e..5c3d41a5885ce110bfb8d7ea1a95457b1252e502 100644
--- a/chrome/test/base/view_event_test_base.cc
+++ b/chrome/test/base/view_event_test_base.cc
@@ -31,6 +31,7 @@
#include "ui/aura/env.h"
#include "ui/aura/root_window.h"
#include "ui/aura/test/aura_test_helper.h"
+#include "ui/aura/window_tree_host.h"
#include "ui/views/corewm/wm_state.h"
#endif
@@ -127,6 +128,7 @@ void ViewEventTestBase::SetUp() {
shell_delegate->test_session_state_delegate()
->SetActiveUserSessionStarted(true);
context = ash::Shell::GetPrimaryRootWindow();
+ context->GetDispatcher()->host()->Show();
sadrul 2014/02/14 19:18:10 This change doesn't look relevant (since this is f
pkotwicz 2014/02/14 19:57:18 I am trying to keep ui_controls_factory_aurax11.cc
#endif // !OS_WIN
aura::Env::CreateInstance();
#elif defined(USE_AURA)

Powered by Google App Engine
This is Rietveld 408576698