| Index: services/ui/public/cpp/context_provider.h
|
| diff --git a/services/ui/public/cpp/context_provider.h b/services/ui/public/cpp/context_provider.h
|
| index d8ea776b9de8b5a5e126a0ecf6db93ebbfc2a536..5a0539bb7750d9a0cbf33c110b69fa6bf1e999b8 100644
|
| --- a/services/ui/public/cpp/context_provider.h
|
| +++ b/services/ui/public/cpp/context_provider.h
|
| @@ -34,10 +34,10 @@ class ContextProvider : public cc::ContextProvider {
|
| gpu::gles2::GLES2Interface* ContextGL() override;
|
| gpu::ContextSupport* ContextSupport() override;
|
| class GrContext* GrContext() override;
|
| + cc::ContextCacheController* CacheController() override;
|
| void InvalidateGrContext(uint32_t state) override;
|
| base::Lock* GetLock() override;
|
| gpu::Capabilities ContextCapabilities() override;
|
| - void DeleteCachedResources() override {}
|
| void SetLostContextCallback(
|
| const LostContextCallback& lost_context_callback) override {}
|
|
|
| @@ -47,6 +47,7 @@ class ContextProvider : public cc::ContextProvider {
|
|
|
| private:
|
| std::unique_ptr<GLES2Context> context_;
|
| + std::unique_ptr<cc::ContextCacheController> cache_controller_;
|
| scoped_refptr<gpu::GpuChannelHost> gpu_channel_host_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(ContextProvider);
|
|
|