summaryrefslogtreecommitdiffstats
path: root/cc/layer_tree_host_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/layer_tree_host_common.h')
-rw-r--r--cc/layer_tree_host_common.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/layer_tree_host_common.h b/cc/layer_tree_host_common.h
index 9b0a684..8975577 100644
--- a/cc/layer_tree_host_common.h
+++ b/cc/layer_tree_host_common.h
@@ -9,8 +9,8 @@
#include "cc/cc_export.h"
#include "cc/scoped_ptr_vector.h"
#include "ui/gfx/rect.h"
+#include "ui/gfx/transform.h"
#include "ui/gfx/vector2d.h"
-#include <public/WebTransformationMatrix.h>
namespace cc {
@@ -20,7 +20,7 @@ class Layer;
class CC_EXPORT LayerTreeHostCommon {
public:
- static gfx::Rect calculateVisibleRect(const gfx::Rect& targetSurfaceRect, const gfx::Rect& layerBoundRect, const WebKit::WebTransformationMatrix&);
+ static gfx::Rect calculateVisibleRect(const gfx::Rect& targetSurfaceRect, const gfx::Rect& layerBoundRect, const gfx::Transform&);
static void calculateDrawTransforms(Layer* rootLayer, const gfx::Size& deviceViewportSize, float deviceScaleFactor, float pageScaleFactor, int maxTextureSize, std::vector<scoped_refptr<Layer> >& renderSurfaceLayerList);
static void calculateDrawTransforms(LayerImpl* rootLayer, const gfx::Size& deviceViewportSize, float deviceScaleFactor, float pageScaleFactor, LayerSorter*, int maxTextureSize, std::vector<LayerImpl*>& renderSurfaceLayerList);