Index: cc/single_thread_proxy.h |
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h |
index a49950167c12e845805eec47a6bb15f655c0b27e..db2ea4d3e1769a9f1cb073fdacaf0d911b204edb 100644 |
--- a/cc/single_thread_proxy.h |
+++ b/cc/single_thread_proxy.h |
@@ -12,6 +12,10 @@ |
#include "cc/layer_tree_host_impl.h" |
#include "cc/proxy.h" |
+namespace ui { |
+class ContextProvider; |
+} |
+ |
namespace cc { |
class LayerTreeHost; |
@@ -73,12 +77,13 @@ private: |
bool commitAndComposite(); |
void doCommit(scoped_ptr<ResourceUpdateQueue>); |
- bool doComposite(); |
+ bool doComposite(scoped_refptr<ui::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. |