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

Unified Diff: cc/rate_limiter.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/quad_culler_unittest.cc ('k') | cc/rate_limiter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/rate_limiter.h
===================================================================
--- cc/rate_limiter.h (revision 165906)
+++ cc/rate_limiter.h (working copy)
@@ -13,8 +13,6 @@
namespace cc {
-class Thread;
-
class RateLimiterClient {
public:
virtual void rateLimit() = 0;
@@ -26,7 +24,7 @@
// compositor.
class RateLimiter : public base::RefCounted<RateLimiter> {
public:
- static scoped_refptr<RateLimiter> create(WebKit::WebGraphicsContext3D*, RateLimiterClient*, Thread*);
+ static scoped_refptr<RateLimiter> create(WebKit::WebGraphicsContext3D*, RateLimiterClient*);
void start();
@@ -34,7 +32,7 @@
void stop();
private:
- RateLimiter(WebKit::WebGraphicsContext3D*, RateLimiterClient*, Thread*);
+ RateLimiter(WebKit::WebGraphicsContext3D*, RateLimiterClient*);
~RateLimiter();
friend class base::RefCounted<RateLimiter>;
@@ -45,7 +43,6 @@
WebKit::WebGraphicsContext3D* m_context;
bool m_active;
RateLimiterClient *m_client;
- Thread* m_thread;
};
}
« no previous file with comments | « cc/quad_culler_unittest.cc ('k') | cc/rate_limiter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698