Index: cc/layer_sorter.cc |
diff --git a/cc/layer_sorter.cc b/cc/layer_sorter.cc |
index 0ab998f50283fe0f71cd80fc85d18fc870893a10..3db78fbb4b8bc47d3a886c13d59e9d3604c61290 100644 |
--- a/cc/layer_sorter.cc |
+++ b/cc/layer_sorter.cc |
@@ -12,10 +12,10 @@ |
#include "base/logging.h" |
#include "cc/math_util.h" |
#include "cc/render_surface_impl.h" |
-#include <public/WebTransformationMatrix.h> |
+#include "ui/gfx/transform.h" |
using namespace std; |
-using WebKit::WebTransformationMatrix; |
+using gfx::Transform; |
namespace cc { |
@@ -146,7 +146,7 @@ LayerShape::LayerShape() |
{ |
} |
-LayerShape::LayerShape(float width, float height, const WebTransformationMatrix& drawTransform) |
+LayerShape::LayerShape(float width, float height, const Transform& drawTransform) |
{ |
gfx::QuadF layerQuad(gfx::RectF(0, 0, width, height)); |
@@ -230,7 +230,7 @@ void LayerSorter::createGraphNodes(LayerList::iterator first, LayerList::iterato |
DVLOG(2) << "Layer " << node.layer->id() << " (" << node.layer->bounds().width() << " x " << node.layer->bounds().height() << ")"; |
- WebTransformationMatrix drawTransform; |
+ Transform drawTransform; |
float layerWidth, layerHeight; |
if (renderSurface) { |
drawTransform = renderSurface->drawTransform(); |