Index: cc/trees/single_thread_proxy.h |
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h |
index 2d9c6478032bfa5fbf707bab579e198200ee0751..50e6bf25c82a8767f955514a451dbeebdce523f7 100644 |
--- a/cc/trees/single_thread_proxy.h |
+++ b/cc/trees/single_thread_proxy.h |
@@ -44,7 +44,7 @@ |
virtual bool CommitRequested() const OVERRIDE; |
virtual bool BeginMainFrameRequested() const OVERRIDE; |
virtual void MainThreadHasStoppedFlinging() OVERRIDE {} |
- virtual void Start() OVERRIDE; |
+ virtual void Start(scoped_ptr<OutputSurface> first_output_surface) OVERRIDE; |
virtual void Stop() OVERRIDE; |
virtual size_t MaxPartialTextureUpdates() const OVERRIDE; |
virtual void AcquireLayerTextures() OVERRIDE {} |
@@ -107,6 +107,10 @@ |
LayerTreeHost* layer_tree_host_; |
LayerTreeHostSingleThreadClient* client_; |
bool created_offscreen_context_provider_; |
+ |
+ // Holds the first output surface passed from Start. Should not be used for |
+ // anything else. |
+ scoped_ptr<OutputSurface> first_output_surface_; |
// Used on the Thread, but checked on main thread during |
// initialization/shutdown. |