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

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: Address code review comments and fix all cc_unittests 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 086855bbf53eca3876ea9abdb63ea5d27908f994..c9ac0713f52b6718c7f80042a6775cb2cb8fa6cd 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -25,7 +25,7 @@ class ThreadProxyContextRecreationTimer;
class ThreadProxy : public Proxy, LayerTreeHostImplClient, SchedulerClient, TextureUpdateControllerClient {
public:
- static scoped_ptr<Proxy> create(LayerTreeHost*);
+ static scoped_ptr<Proxy> create(LayerTreeHost*, Thread*);
virtual ~ThreadProxy();
@@ -76,7 +76,7 @@ public:
virtual void readyToFinalizeTextureUpdates() OVERRIDE;
private:
- explicit ThreadProxy(LayerTreeHost*);
+ ThreadProxy(LayerTreeHost*, Thread* implThread);
friend class ThreadProxyContextRecreationTimer;
// Set on impl thread, read on main thread.

Powered by Google App Engine
This is Rietveld 408576698