| Index: cc/CCRenderer.h
|
| diff --git a/cc/CCRenderer.h b/cc/CCRenderer.h
|
| index 78a60819794b2f6e76280c429eecea4fa6e13aa4..4720c8d67af4fe798ead557c2dc2ec5a0c7d1baf 100644
|
| --- a/cc/CCRenderer.h
|
| +++ b/cc/CCRenderer.h
|
| @@ -8,7 +8,6 @@
|
| #include "CCLayerTreeHost.h"
|
| #include "CCRenderPass.h"
|
| #include "FloatQuad.h"
|
| -#include "IntRect.h"
|
| #include <wtf/Noncopyable.h>
|
| #include <wtf/PassRefPtr.h>
|
|
|
| @@ -18,7 +17,7 @@ class CCScopedTexture;
|
|
|
| class CCRendererClient {
|
| public:
|
| - virtual const IntSize& deviceViewportSize() const = 0;
|
| + virtual const cc::IntSize& deviceViewportSize() const = 0;
|
| virtual const CCLayerTreeSettings& settings() const = 0;
|
| virtual void didLoseContext() = 0;
|
| virtual void onSwapBuffersComplete() = 0;
|
| @@ -45,7 +44,7 @@ public:
|
|
|
| const CCLayerTreeSettings& settings() const { return m_client->settings(); }
|
|
|
| - const IntSize& viewportSize() { return m_client->deviceViewportSize(); }
|
| + ccmath::IntSize viewportSize() { return m_client->deviceViewportSize(); }
|
| int viewportWidth() { return viewportSize().width(); }
|
| int viewportHeight() { return viewportSize().height(); }
|
|
|
| @@ -63,7 +62,7 @@ public:
|
| // puts backbuffer onscreen
|
| virtual bool swapBuffers() = 0;
|
|
|
| - virtual void getFramebufferPixels(void *pixels, const IntRect&) = 0;
|
| + virtual void getFramebufferPixels(void *pixels, const cc::IntRect&) = 0;
|
|
|
| virtual bool isContextLost();
|
|
|
|
|