Index: services/ui/gpu/gpu_service.h |
diff --git a/services/ui/gpu/gpu_service.h b/services/ui/gpu/gpu_service.h |
index 63ad9b73f589d9c275320cda16836111462776e8..2e8a3f8878c136d7ed5b4a3fa0d4261b758649af 100644 |
--- a/services/ui/gpu/gpu_service.h |
+++ b/services/ui/gpu/gpu_service.h |
@@ -47,7 +47,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); |
@@ -69,6 +68,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 { |
@@ -158,7 +159,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_; |