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

Unified Diff: content/browser/compositor/surface_utils.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/compositor/surface_utils.cc
diff --git a/content/browser/compositor/surface_utils.cc b/content/browser/compositor/surface_utils.cc
index 33e5468a9c6e69a52a166e520759e0513e2a9126..27cceecf92514fc10ee382ef714af7668a9dcd51 100644
--- a/content/browser/compositor/surface_utils.cc
+++ b/content/browser/compositor/surface_utils.cc
@@ -164,7 +164,7 @@ cc::FrameSinkId AllocateFrameSinkId() {
return ContextProviderFactoryImpl::GetInstance()->AllocateFrameSinkId();
#else
ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
- return factory->GetContextFactory()->AllocateFrameSinkId();
+ return factory->GetContextFactoryPrivate()->AllocateFrameSinkId();
#endif
}
@@ -175,7 +175,7 @@ cc::SurfaceManager* GetSurfaceManager() {
ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
if (factory == NULL)
return nullptr;
- return factory->GetContextFactory()->GetSurfaceManager();
+ return factory->GetContextFactoryPrivate()->GetSurfaceManager();
#endif
}

Powered by Google App Engine
This is Rietveld 408576698