Index: content/browser/compositor/surface_utils.cc |
diff --git a/content/browser/compositor/surface_utils.cc b/content/browser/compositor/surface_utils.cc |
index 4cbd80dfaba4f2b39b2b912799351c9e32a10d41..507c063f713e9371892469b214179eb63384c9b1 100644 |
--- a/content/browser/compositor/surface_utils.cc |
+++ b/content/browser/compositor/surface_utils.cc |
@@ -158,12 +158,12 @@ void PrepareBitmapCopyOutputResult( |
namespace content { |
-std::unique_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() { |
+uint32_t AllocateSurfaceClientId() { |
#if defined(OS_ANDROID) |
- return CompositorImpl::CreateSurfaceIdAllocator(); |
+ return CompositorImpl::AllocateSurfaceClientId(); |
#else |
ImageTransportFactory* factory = ImageTransportFactory::GetInstance(); |
- return factory->GetContextFactory()->CreateSurfaceIdAllocator(); |
+ return factory->GetContextFactory()->AllocateSurfaceClientId(); |
#endif |
} |