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

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

Issue 2166423002: ui::ContextFactory should not create SurfaceIdAllocators (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nit Created 4 years, 5 months 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.h
diff --git a/content/browser/compositor/surface_utils.h b/content/browser/compositor/surface_utils.h
index 92bfe5786d5574a4caead4c2ac88d23f2523f6bb..3488e732cc14680a0c5080d13aec00192be81aa9 100644
--- a/content/browser/compositor/surface_utils.h
+++ b/content/browser/compositor/surface_utils.h
@@ -14,17 +14,14 @@
namespace cc {
class CopyOutputResult;
-class SurfaceIdAllocator;
class SurfaceManager;
} // namespace cc
namespace content {
-CONTENT_EXPORT
-std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator();
+CONTENT_EXPORT uint32_t AllocateSurfaceClientId();
-CONTENT_EXPORT
-cc::SurfaceManager* GetSurfaceManager();
+CONTENT_EXPORT cc::SurfaceManager* GetSurfaceManager();
void CopyFromCompositingSurfaceHasResult(
const gfx::Size& dst_size_in_pixel,
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/compositor/surface_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698