| Index: cc/trees/thread_proxy.h
|
| diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h
|
| index a86d828059ccfaf630ef0c6aab7db2bc0491b6d9..4734778c8d46e42dec42951706fb6cf55b9dc8ff 100644
|
| --- a/cc/trees/thread_proxy.h
|
| +++ b/cc/trees/thread_proxy.h
|
| @@ -72,7 +72,6 @@ class CC_EXPORT ThreadProxy : public Proxy,
|
| bool can_cancel_commit;
|
| bool defer_commits;
|
|
|
| - base::CancelableClosure output_surface_creation_callback;
|
| RendererCapabilities renderer_capabilities_main_thread_copy;
|
|
|
| scoped_ptr<BeginMainFrameAndCommitState> pending_deferred_commit;
|
| @@ -242,8 +241,10 @@ class CC_EXPORT ThreadProxy : public Proxy,
|
| void DidCommitAndDrawFrame();
|
| void DidCompleteSwapBuffers();
|
| void SetAnimationEvents(scoped_ptr<AnimationEventsVector> queue);
|
| + void DidLoseOutputSurface();
|
| void CreateAndInitializeOutputSurface();
|
| - void DoCreateAndInitializeOutputSurface();
|
| + void DidInitializeOutputSurface(bool success,
|
| + const RendererCapabilities& capabilities);
|
| void SendCommitRequestToImplThreadIfNeeded();
|
|
|
| // Called on impl thread.
|
| @@ -261,11 +262,9 @@ class CC_EXPORT ThreadProxy : public Proxy,
|
| void HasInitializedOutputSurfaceOnImplThread(
|
| CompletionEvent* completion,
|
| bool* has_initialized_output_surface);
|
| - virtual void InitializeOutputSurfaceOnImplThread(
|
| - CompletionEvent* completion,
|
| - scoped_ptr<OutputSurface> output_surface,
|
| - bool* success,
|
| - RendererCapabilities* capabilities);
|
| + void DeleteContentsTexturesOnImplThread(CompletionEvent* completion);
|
| + void InitializeOutputSurfaceOnImplThread(
|
| + scoped_ptr<OutputSurface> output_surface);
|
| void FinishGLOnImplThread(CompletionEvent* completion);
|
| void LayerTreeHostClosedOnImplThread(CompletionEvent* completion);
|
| DrawResult DrawSwapInternal(bool forced_draw);
|
|
|