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

Unified Diff: content/browser/context_factory.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
Index: content/browser/context_factory.cc
diff --git a/content/browser/context_factory.cc b/content/browser/context_factory.cc
index b9dfacc0dec0e12bbe11b7cd1239d629578499fb..aacdf25fc281e85a6dc7b6d347e209c9432e8605 100644
--- a/content/browser/context_factory.cc
+++ b/content/browser/context_factory.cc
@@ -13,4 +13,9 @@ ui::ContextFactory* GetContextFactory() {
return ImageTransportFactory::GetInstance()->GetContextFactory();
}
+ui::ContextFactoryPrivate* GetContextFactoryPrivate() {
+ DCHECK(ImageTransportFactory::GetInstance());
+ return ImageTransportFactory::GetInstance()->GetContextFactoryPrivate();
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698