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

Unified Diff: content/browser/compositor/surface_utils.cc

Issue 2554583002: Get rid of ImageTransportFactory::GetSurfaceManager (Closed)
Patch Set: Add missing include 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 902b818064d950b9ef519d8a16293447c8b29c16..33e5468a9c6e69a52a166e520759e0513e2a9126 100644
--- a/content/browser/compositor/surface_utils.cc
+++ b/content/browser/compositor/surface_utils.cc
@@ -175,7 +175,7 @@ cc::SurfaceManager* GetSurfaceManager() {
ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
if (factory == NULL)
return nullptr;
- return factory->GetSurfaceManager();
+ return factory->GetContextFactory()->GetSurfaceManager();
#endif
}

Powered by Google App Engine
This is Rietveld 408576698