| Index: content/browser/compositor/gpu_process_transport_factory.cc
|
| diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
|
| index af1f5fe02afd3f6310508fd9b37ed3e7108bedfa..1827ba8e32b78a4ab0275d5bd0b2b2a916bda4f8 100644
|
| --- a/content/browser/compositor/gpu_process_transport_factory.cc
|
| +++ b/content/browser/compositor/gpu_process_transport_factory.cc
|
| @@ -690,13 +690,8 @@ ui::ContextFactory* GpuProcessTransportFactory::GetContextFactory() {
|
| return this;
|
| }
|
|
|
| -std::unique_ptr<cc::SurfaceIdAllocator>
|
| -GpuProcessTransportFactory::CreateSurfaceIdAllocator() {
|
| - std::unique_ptr<cc::SurfaceIdAllocator> allocator =
|
| - base::WrapUnique(new cc::SurfaceIdAllocator(next_surface_client_id_++));
|
| - if (GetSurfaceManager())
|
| - allocator->RegisterSurfaceClientId(GetSurfaceManager());
|
| - return allocator;
|
| +uint32_t GpuProcessTransportFactory::AllocateSurfaceClientId() {
|
| + return next_surface_client_id_++;
|
| }
|
|
|
| void GpuProcessTransportFactory::ResizeDisplay(ui::Compositor* compositor,
|
|
|