Index: services/ui/gpu/gpu_service.h |
diff --git a/services/ui/gpu/gpu_service.h b/services/ui/gpu/gpu_service.h |
index 19f2b50370f4434a4a23ac0c35f17b86533bb8aa..990c488b595ae075ad7abaefa745666b2a5dc732 100644 |
--- a/services/ui/gpu/gpu_service.h |
+++ b/services/ui/gpu/gpu_service.h |
@@ -48,7 +48,6 @@ class GpuService : public gpu::GpuChannelManagerDelegate, |
public: |
GpuService(const gpu::GPUInfo& gpu_info, |
std::unique_ptr<gpu::GpuWatchdogThread> watchdog, |
- gpu::GpuMemoryBufferFactory* memory_buffer_factory, |
scoped_refptr<base::SingleThreadTaskRunner> io_runner, |
const gpu::GpuFeatureInfo& gpu_feature_info); |
@@ -70,6 +69,8 @@ class GpuService : public gpu::GpuChannelManagerDelegate, |
return gpu_channel_manager_.get(); |
} |
+ gpu::ImageFactory* gpu_image_factory(); |
+ |
gpu::GpuWatchdogThread* watchdog_thread() { return watchdog_thread_.get(); } |
const gpu::GpuFeatureInfo& gpu_feature_info() const { |
@@ -159,7 +160,7 @@ class GpuService : public gpu::GpuChannelManagerDelegate, |
std::unique_ptr<gpu::GpuWatchdogThread> watchdog_thread_; |
- gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory_; |
+ std::unique_ptr<gpu::GpuMemoryBufferFactory> gpu_memory_buffer_factory_; |
gpu::GpuPreferences gpu_preferences_; |