Index: cc/rate_limiter.h |
diff --git a/cc/rate_limiter.h b/cc/rate_limiter.h |
index 163086484510e33077f5fe37953ca18ce8c4e940..10ae7738f4f76e1ccd1fef317f5c5faaf2911c97 100644 |
--- a/cc/rate_limiter.h |
+++ b/cc/rate_limiter.h |
@@ -6,6 +6,7 @@ |
#define RateLimiter_h |
#include "base/memory/ref_counted.h" |
+#include "cc/proxy.h" |
namespace WebKit { |
class WebGraphicsContext3D; |
@@ -24,7 +25,7 @@ public: |
// compositor. |
class RateLimiter : public base::RefCounted<RateLimiter> { |
public: |
- static scoped_refptr<RateLimiter> create(WebKit::WebGraphicsContext3D*, RateLimiterClient*); |
+ static scoped_refptr<RateLimiter> create(WebKit::WebGraphicsContext3D*, RateLimiterClient*, Proxy*); |
void start(); |
@@ -32,7 +33,7 @@ public: |
void stop(); |
private: |
- RateLimiter(WebKit::WebGraphicsContext3D*, RateLimiterClient*); |
+ RateLimiter(WebKit::WebGraphicsContext3D*, RateLimiterClient*, Proxy*); |
~RateLimiter(); |
friend class base::RefCounted<RateLimiter>; |
@@ -43,6 +44,7 @@ private: |
WebKit::WebGraphicsContext3D* m_context; |
bool m_active; |
RateLimiterClient *m_client; |
+ Proxy* m_proxy; |
}; |
} |