Index: android_webview/browser/aw_render_thread_context_provider.h |
diff --git a/android_webview/browser/aw_render_thread_context_provider.h b/android_webview/browser/aw_render_thread_context_provider.h |
index e2e45fbdba9eb385f96d038eba27597f83cd5825..fc5309f66dba06a1af7d54ffe12417c151f995b0 100644 |
--- a/android_webview/browser/aw_render_thread_context_provider.h |
+++ b/android_webview/browser/aw_render_thread_context_provider.h |
@@ -48,9 +48,9 @@ class AwRenderThreadContextProvider : 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; |
- void DeleteCachedResources() override; |
void SetLostContextCallback( |
const LostContextCallback& lost_context_callback) override; |
@@ -60,6 +60,7 @@ class AwRenderThreadContextProvider : public cc::ContextProvider { |
std::unique_ptr<gpu::GLInProcessContext> context_; |
sk_sp<class GrContext> gr_context_; |
+ std::unique_ptr<cc::ContextCacheController> cache_controller_; |
LostContextCallback lost_context_callback_; |