Index: cc/trees/single_thread_proxy.h |
diff --git a/cc/trees/single_thread_proxy.h b/cc/trees/single_thread_proxy.h |
index e7272843e3a53960c4b192b3fc90c065778fdde3..dc87f5f4b42ab1aeed116c3711e286e1533eb5b0 100644 |
--- a/cc/trees/single_thread_proxy.h |
+++ b/cc/trees/single_thread_proxy.h |
@@ -31,7 +31,6 @@ class SingleThreadProxy : public Proxy, LayerTreeHostImplClient { |
virtual bool IsStarted() const OVERRIDE; |
virtual void SetLayerTreeHostClientReady() OVERRIDE; |
virtual void SetVisible(bool visible) OVERRIDE; |
- virtual void CreateAndInitializeOutputSurface() OVERRIDE; |
virtual const RendererCapabilities& GetRendererCapabilities() const OVERRIDE; |
virtual void SetNeedsAnimate() OVERRIDE; |
virtual void SetNeedsUpdateLayers() OVERRIDE; |
@@ -84,6 +83,10 @@ class SingleThreadProxy : public Proxy, LayerTreeHostImplClient { |
virtual void DidManageTiles() OVERRIDE {} |
virtual void SetDebugState(const LayerTreeDebugState& debug_state) OVERRIDE {} |
+ // Attempts to create the context and renderer synchronously. Calls |
+ // LayerTreeHost::OnCreateAndInitializeOutputSurfaceAttempted with the result. |
+ void CreateAndInitializeOutputSurface(); |
+ |
// Called by the legacy path where RenderWidget does the scheduling. |
void CompositeImmediately(base::TimeTicks frame_begin_time); |