diff options
Diffstat (limited to 'cc/thread_proxy.h')
-rw-r--r-- | cc/thread_proxy.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h index 5ccedc1..1249687 100644 --- a/cc/thread_proxy.h +++ b/cc/thread_proxy.h @@ -5,7 +5,6 @@ #ifndef CCThreadProxy_h #define CCThreadProxy_h -#include "base/memory/scoped_ptr.h" #include "base/time.h" #include "cc/animation_events.h" #include "cc/completion_event.h" @@ -25,7 +24,7 @@ class Thread; class ThreadProxy : public Proxy, LayerTreeHostImplClient, SchedulerClient, ResourceUpdateControllerClient { public: - static scoped_ptr<Proxy> create(LayerTreeHost*, scoped_ptr<Thread> implThread); + static scoped_ptr<Proxy> create(LayerTreeHost*); virtual ~ThreadProxy(); @@ -78,7 +77,7 @@ public: virtual void readyToFinalizeTextureUpdates() OVERRIDE; private: - ThreadProxy(LayerTreeHost*, scoped_ptr<Thread> implThread); + explicit ThreadProxy(LayerTreeHost*); // Set on impl thread, read on main thread. struct BeginFrameAndCommitState { |