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

Unified Diff: ui/snapshot/snapshot_aura_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/keyboard/keyboard_controller_unittest.cc ('k') | ui/views/cocoa/bridged_native_widget.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/snapshot/snapshot_aura_unittest.cc
diff --git a/ui/snapshot/snapshot_aura_unittest.cc b/ui/snapshot/snapshot_aura_unittest.cc
index 4dc985fc24073e0fab65b22308baa2cc33e18a72..7be0d703fa1c2006a3b69d30f9b137db124db89f 100644
--- a/ui/snapshot/snapshot_aura_unittest.cc
+++ b/ui/snapshot/snapshot_aura_unittest.cc
@@ -97,12 +97,15 @@ class SnapshotAuraTest : public testing::Test {
// The ContextFactory must exist before any Compositors are created.
// Snapshot test tests real drawing and readback, so needs pixel output.
bool enable_pixel_output = true;
- 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);
helper_.reset(
new aura::test::AuraTestHelper(base::MessageLoopForUI::current()));
- helper_->SetUp(context_factory);
+ helper_->SetUp(context_factory, context_factory_private);
new ::wm::DefaultActivationClient(helper_->root_window());
}
« no previous file with comments | « ui/keyboard/keyboard_controller_unittest.cc ('k') | ui/views/cocoa/bridged_native_widget.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698