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

Unified Diff: ui/views_content_client/views_content_client_main_parts.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/views/views_delegate.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views_content_client/views_content_client_main_parts.cc
diff --git a/ui/views_content_client/views_content_client_main_parts.cc b/ui/views_content_client/views_content_client_main_parts.cc
index d6e4626eb5c61f450a032609a0a005300500281d..3f789391eafedc6bdd834b31d5239f28d8d3d96b 100644
--- a/ui/views_content_client/views_content_client_main_parts.cc
+++ b/ui/views_content_client/views_content_client_main_parts.cc
@@ -32,6 +32,8 @@ void ViewsContentClientMainParts::PreMainMessageLoopRun() {
std::unique_ptr<views::TestViewsDelegate> test_views_delegate(
new views::DesktopTestViewsDelegate);
test_views_delegate->set_context_factory(content::GetContextFactory());
+ test_views_delegate->set_context_factory_private(
+ content::GetContextFactoryPrivate());
views_delegate_ = std::move(test_views_delegate);
}
« no previous file with comments | « ui/views/views_delegate.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698