Index: cc/trees/thread_proxy.h |
diff --git a/cc/trees/thread_proxy.h b/cc/trees/thread_proxy.h |
index a4ba40c7728fbb72e3cf9135a66518113e5aa8a0..b854b68c08ec2947bdc054f136ab4f58c2057406 100644 |
--- a/cc/trees/thread_proxy.h |
+++ b/cc/trees/thread_proxy.h |
@@ -148,8 +148,10 @@ class 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. |
@@ -167,11 +169,9 @@ class ThreadProxy : public Proxy, |
void HasInitializedOutputSurfaceOnImplThread( |
CompletionEvent* completion, |
bool* has_initialized_output_surface); |
+ void DeleteContentsTexturesOnImplThread(CompletionEvent* completion); |
void InitializeOutputSurfaceOnImplThread( |
- CompletionEvent* completion, |
- scoped_ptr<OutputSurface> output_surface, |
- bool* success, |
- RendererCapabilities* capabilities); |
+ scoped_ptr<OutputSurface> output_surface); |
void FinishGLOnImplThread(CompletionEvent* completion); |
void LayerTreeHostClosedOnImplThread(CompletionEvent* completion); |
DrawResult DrawSwapInternal(bool forced_draw); |
@@ -208,7 +208,6 @@ class 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; |