[chromium] Use WebGraphicsContext3D in rate limiting logic inside compositor
[WebKit.git] / Source / WebCore / platform / graphics / chromium / cc / CCLayerTreeHost.h
index 481d3ce61e9e929279a050d31ca4ef88e72b2762..3c3ae03f66c8ef457a831ce62dc1d84fcfc341e2 100644 (file)
@@ -242,8 +242,9 @@ public:
     void startPageScaleAnimation(const IntSize& targetPosition, bool useAnchor, float scale, double durationSec);
 
     void applyScrollAndScale(const CCScrollAndScaleSet&);
-    void startRateLimiter(GraphicsContext3D*);
-    void stopRateLimiter(GraphicsContext3D*);
+
+    void startRateLimiter(WebKit::WebGraphicsContext3D*);
+    void stopRateLimiter(WebKit::WebGraphicsContext3D*);
 
     // RateLimitClient implementation
     virtual void rateLimit() OVERRIDE;
@@ -304,7 +305,7 @@ private:
     size_t m_memoryAllocationBytes;
     bool m_memoryAllocationIsForDisplay;
 
-    typedef HashMap<GraphicsContext3D*, RefPtr<RateLimiter> > RateLimiterMap;
+    typedef HashMap<WebKit::WebGraphicsContext3D*, RefPtr<RateLimiter> > RateLimiterMap;
     RateLimiterMap m_rateLimiters;
 
     float m_pageScaleFactor;