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

Unified Diff: ui/keyboard/keyboard_controller_unittest.cc

Issue 2563783002: ui + mus: Split ContextFactory into ContextFactory(Client) and ContextFactoryPrivate (Closed)
Patch Set: Restore mash Created 4 years 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 | « ui/compositor/test/test_compositor_host_x11.cc ('k') | ui/snapshot/snapshot_aura_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller_unittest.cc
diff --git a/ui/keyboard/keyboard_controller_unittest.cc b/ui/keyboard/keyboard_controller_unittest.cc
index 6280f1bd71e315d326cca585903506a300a295b0..c2b47f3cb5f35a59aa2ea5b94a90539fdaa06fe5 100644
--- a/ui/keyboard/keyboard_controller_unittest.cc
+++ b/ui/keyboard/keyboard_controller_unittest.cc
@@ -191,12 +191,15 @@ class KeyboardControllerTest : public testing::Test,
void SetUp() override {
// The ContextFactory must exist before any Compositors are created.
bool enable_pixel_output = false;
- ui::ContextFactory* context_factory =
- ui::InitializeContextFactoryForTests(enable_pixel_output);
+ ui::ContextFactory* context_factory = nullptr;
+ ui::ContextFactoryPrivate* context_factory_private = nullptr;
+
+ ui::InitializeContextFactoryForTests(enable_pixel_output, &context_factory,
+ &context_factory_private);
ui::SetUpInputMethodFactoryForTesting();
aura_test_helper_.reset(new aura::test::AuraTestHelper(&message_loop_));
- aura_test_helper_->SetUp(context_factory);
+ aura_test_helper_->SetUp(context_factory, context_factory_private);
new wm::DefaultActivationClient(aura_test_helper_->root_window());
focus_controller_.reset(new TestFocusController(root_window()));
ui_ = new TestKeyboardUI(aura_test_helper_->host()->GetInputMethod());
« no previous file with comments | « ui/compositor/test/test_compositor_host_x11.cc ('k') | ui/snapshot/snapshot_aura_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698