Index: cc/output/context_provider.h |
diff --git a/cc/output/context_provider.h b/cc/output/context_provider.h |
index 71d06bd7591d22f180f7a395b5be412d733b03bb..39064225f9df74c3feacbce4a628097030071568 100644 |
--- a/cc/output/context_provider.h |
+++ b/cc/output/context_provider.h |
@@ -9,8 +9,7 @@ |
#include "base/memory/ref_counted.h" |
#include "cc/base/cc_export.h" |
#include "gpu/command_buffer/common/capabilities.h" |
- |
-class GrContext; |
+#include "third_party/skia/include/gpu/GrContext.h" |
piman
2015/05/07 01:07:08
nit: you shouldn't need this
|
namespace base { |
class Lock; |
@@ -44,6 +43,9 @@ class ContextProvider : public base::RefCountedThreadSafe<ContextProvider> { |
CC_EXPORT Capabilities(); |
}; |
+ // Invalidates the cached OpenGL state in GrContext. |
+ virtual void InvalidateGrContext(uint32_t state) = 0; |
+ |
// Sets up a lock so this context can be used from multiple threads. |
virtual void SetupLock() = 0; |