Index: cc/single_thread_proxy.h |
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h |
index a49950167c12e845805eec47a6bb15f655c0b27e..a8be0933a96c03436120a073e6429690cf5fa43e 100644 |
--- a/cc/single_thread_proxy.h |
+++ b/cc/single_thread_proxy.h |
@@ -14,6 +14,7 @@ |
namespace cc { |
+class ContextProvider; |
class LayerTreeHost; |
class SingleThreadProxy : public Proxy, LayerTreeHostImplClient { |
@@ -73,12 +74,13 @@ private: |
bool commitAndComposite(); |
void doCommit(scoped_ptr<ResourceUpdateQueue>); |
- bool doComposite(); |
+ bool doComposite(scoped_refptr<cc::ContextProvider> offscreenContextProvider); |
void didSwapFrame(); |
// Accessed on main thread only. |
LayerTreeHost* m_layerTreeHost; |
bool m_outputSurfaceLost; |
+ bool m_createdOffscreenContextProvider; |
// Holds on to the context between initializeContext() and initializeRenderer() calls. Shouldn't |
// be used for anything else. |