| Index: trunk/src/cc/trees/single_thread_proxy.h
|
| ===================================================================
|
| --- trunk/src/cc/trees/single_thread_proxy.h (revision 238469)
|
| +++ trunk/src/cc/trees/single_thread_proxy.h (working copy)
|
| @@ -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 {}
|
| @@ -108,6 +108,10 @@
|
| 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.
|
| scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl_;
|
|
|