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

Unified Diff: cc/thread_proxy.h

Issue 11232051: Remove static thread pointers from CC (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rebase to 165064 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
Index: cc/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index 721bb6884c530fe0c9139582267eed1adf233cb2..fc229634482ec1b094895084014618d798d6c93b 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -24,7 +24,7 @@ class Thread;
class ThreadProxy : public Proxy, LayerTreeHostImplClient, SchedulerClient, ResourceUpdateControllerClient {
public:
- static scoped_ptr<Proxy> create(LayerTreeHost*);
+ static scoped_ptr<Proxy> create(LayerTreeHost*, Thread*);
virtual ~ThreadProxy();
@@ -77,7 +77,7 @@ public:
virtual void readyToFinalizeTextureUpdates() OVERRIDE;
private:
- explicit ThreadProxy(LayerTreeHost*);
+ ThreadProxy(LayerTreeHost*, Thread* implThread);
// Set on impl thread, read on main thread.
struct BeginFrameAndCommitState {

Powered by Google App Engine
This is Rietveld 408576698