Index: cc/trees/thread_proxy.h |
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h |
index 6abc1ae19d43de611d1a725bcb656e23328ddd7a..1e226b2748369e2c5535bcfa92ccbd816a567a33 100644 |
--- a/cc/trees/thread_proxy.h |
+++ b/cc/trees/thread_proxy.h |
@@ -58,7 +58,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; |
@@ -224,6 +224,9 @@ |
bool manage_tiles_pending_; |
// Weak pointer to use when posting tasks to the impl thread. |
base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
+ // Holds the first output surface passed from Start. Should not be used for |
+ // anything else. |
+ scoped_ptr<OutputSurface> first_output_surface_; |
// Accessed on the main thread, or when main thread is blocked. |
bool commit_waits_for_activation_; |