Index: Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h (revision 114962) |
+++ Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHost.h (working copy) |
@@ -123,7 +123,7 @@ |
int maxTextureSize; |
}; |
-class CCLayerTreeHost : public RefCounted<CCLayerTreeHost> { |
+class CCLayerTreeHost : public RefCounted<CCLayerTreeHost>, public RateLimiterClient { |
public: |
static PassRefPtr<CCLayerTreeHost> create(CCLayerTreeHostClient*, const CCSettings&); |
virtual ~CCLayerTreeHost(); |
@@ -216,6 +216,9 @@ |
void startRateLimiter(GraphicsContext3D*); |
void stopRateLimiter(GraphicsContext3D*); |
+ // RateLimitClient implementation |
+ virtual void rateLimit() OVERRIDE; |
+ |
bool requestPartialTextureUpdate(); |
void deleteTextureAfterCommit(PassOwnPtr<ManagedTexture>); |