Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Unified Diff: cc/thread_proxy.h

Issue 11358026: cc: Use base::Passed in ThreadProxy (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/thread_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index 721bb6884c530fe0c9139582267eed1adf233cb2..534bb33d0c8a60cd120b2048b8065e37eecdcc72 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -96,7 +96,7 @@ private:
void beginFrame();
void didCommitAndDrawFrame();
void didCompleteSwapBuffers();
- void setAnimationEvents(AnimationEventsVector*, base::Time wallClockTime);
+ void setAnimationEvents(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime);
void beginContextRecreation();
void tryToRecreateContext();
@@ -116,12 +116,12 @@ private:
void initializeImplOnImplThread(CompletionEvent*, InputHandler*);
void setSurfaceReadyOnImplThread();
void setVisibleOnImplThread(CompletionEvent*, bool);
- void initializeContextOnImplThread(GraphicsContext*);
+ void initializeContextOnImplThread(scoped_ptr<GraphicsContext>);
void initializeRendererOnImplThread(CompletionEvent*, bool* initializeSucceeded, RendererCapabilities*);
void layerTreeHostClosedOnImplThread(CompletionEvent*);
void setFullRootLayerDamageOnImplThread();
void acquireLayerTexturesForMainThreadOnImplThread(CompletionEvent*);
- void recreateContextOnImplThread(CompletionEvent*, GraphicsContext*, bool* recreateSucceeded, RendererCapabilities*);
+ void recreateContextOnImplThread(CompletionEvent*, scoped_ptr<GraphicsContext>, bool* recreateSucceeded, RendererCapabilities*);
void renderingStatsOnImplThread(CompletionEvent*, RenderingStats*);
ScheduledActionDrawAndSwapResult scheduledActionDrawAndSwapInternal(bool forcedDraw);
void forceSerializeOnSwapBuffersOnImplThread(CompletionEvent*);
« no previous file with comments | « no previous file | cc/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698