Index: cc/layer_tree_host_common.h |
diff --git a/cc/layer_tree_host_common.h b/cc/layer_tree_host_common.h |
index 9b0a684d79fc193d21bcfa5abb93d7dbc1d982d0..89755775fc72b850d0f86a01addda11f0b566db9 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); |