| Index: cc/layer.cc
|
| diff --git a/cc/layer.cc b/cc/layer.cc
|
| index 63f5e946852cda0c56d55cf8871b91401c516a09..73fdd39c4dbf8bd3b0b98567d4402a4a7ca2651a 100644
|
| --- a/cc/layer.cc
|
| +++ b/cc/layer.cc
|
| @@ -16,7 +16,7 @@
|
| #include <public/WebSize.h>
|
|
|
| using namespace std;
|
| -using WebKit::WebTransformationMatrix;
|
| +using gfx::Transform;
|
|
|
| namespace cc {
|
|
|
| @@ -384,7 +384,7 @@ void Layer::setPosition(const gfx::PointF& position)
|
| setNeedsCommit();
|
| }
|
|
|
| -void Layer::setSublayerTransform(const WebTransformationMatrix& sublayerTransform)
|
| +void Layer::setSublayerTransform(const Transform& sublayerTransform)
|
| {
|
| if (m_sublayerTransform == sublayerTransform)
|
| return;
|
| @@ -392,7 +392,7 @@ void Layer::setSublayerTransform(const WebTransformationMatrix& sublayerTransfor
|
| setNeedsCommit();
|
| }
|
|
|
| -void Layer::setTransform(const WebTransformationMatrix& transform)
|
| +void Layer::setTransform(const Transform& transform)
|
| {
|
| if (m_transform == transform)
|
| return;
|
| @@ -480,7 +480,7 @@ void Layer::setForceRenderSurface(bool force)
|
| setNeedsCommit();
|
| }
|
|
|
| -void Layer::setImplTransform(const WebTransformationMatrix& transform)
|
| +void Layer::setImplTransform(const Transform& transform)
|
| {
|
| if (m_implTransform == transform)
|
| return;
|
| @@ -726,12 +726,12 @@ void Layer::setOpacityFromAnimation(float opacity)
|
| m_opacity = opacity;
|
| }
|
|
|
| -const WebKit::WebTransformationMatrix& Layer::transform() const
|
| +const gfx::Transform& Layer::transform() const
|
| {
|
| return m_transform;
|
| }
|
|
|
| -void Layer::setTransformFromAnimation(const WebTransformationMatrix& transform)
|
| +void Layer::setTransformFromAnimation(const Transform& transform)
|
| {
|
| // This is called due to an ongoing accelerated animation. Since this animation is
|
| // also being run on the impl thread, there is no need to request a commit to push
|
|
|