summaryrefslogtreecommitdiffstats
path: root/cc/output/context_provider.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/output/context_provider.h')
-rw-r--r--cc/output/context_provider.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/output/context_provider.h b/cc/output/context_provider.h
index 2880915..71d06bd 100644
--- a/cc/output/context_provider.h
+++ b/cc/output/context_provider.h
@@ -31,6 +31,7 @@ class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> {
// Once this function has been called, the class should only be accessed
// from the same thread.
virtual bool BindToCurrentThread() = 0;
+ virtual void DetachFromThread() {}
virtual gpu::gles2::GLES2Interface* ContextGL() = 0;
virtual gpu::ContextSupport* ContextSupport() = 0;