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

Unified Diff: cc/thread_proxy.h

Issue 11369071: A speculative Revert for r165872 - Remove static thread pointers from CC, attempt 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 1 month 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 | « cc/texture_layer_unittest.cc ('k') | 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
===================================================================
--- cc/thread_proxy.h (revision 165906)
+++ cc/thread_proxy.h (working copy)
@@ -5,7 +5,6 @@
#ifndef CC_THREAD_PROXY_H_
#define CC_THREAD_PROXY_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 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 @@
virtual void readyToFinalizeTextureUpdates() OVERRIDE;
private:
- ThreadProxy(LayerTreeHost*, scoped_ptr<Thread> implThread);
+ explicit ThreadProxy(LayerTreeHost*);
// Set on impl thread, read on main thread.
struct BeginFrameAndCommitState {
« no previous file with comments | « cc/texture_layer_unittest.cc ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698