Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(322)

Unified Diff: ui/compositor/test/in_process_context_provider.h

Issue 2278283003: Refactor client visibility handling (Closed)
Patch Set: fix compositor_unittests Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/compositor/test/in_process_context_provider.h
diff --git a/ui/compositor/test/in_process_context_provider.h b/ui/compositor/test/in_process_context_provider.h
index b08c33c7baf257d055feb316c1c9bbefc46e2290..d61a77db0ccb8daea69a6ff162b75dfaab8c926e 100644
--- a/ui/compositor/test/in_process_context_provider.h
+++ b/ui/compositor/test/in_process_context_provider.h
@@ -52,9 +52,9 @@ class InProcessContextProvider : 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;
@@ -77,6 +77,7 @@ class InProcessContextProvider : public cc::ContextProvider {
std::unique_ptr<gpu::GLInProcessContext> context_;
std::unique_ptr<skia_bindings::GrContextForGLES2Interface> gr_context_;
+ std::unique_ptr<cc::ContextCacheController> cache_controller_;
gpu::gles2::ContextCreationAttribHelper attribs_;
InProcessContextProvider* shared_context_;

Powered by Google App Engine
This is Rietveld 408576698