| Index: cc/layer.cc
|
| diff --git a/cc/layer.cc b/cc/layer.cc
|
| index 5ba8451772c9cb2b6733817c54ebecfd934bfcb4..05f0f52dcae2f5e43173f253e75adcd79254601c 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 {
|
|
|
| @@ -383,7 +383,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;
|
| @@ -391,7 +391,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;
|
| @@ -479,7 +479,7 @@ void Layer::setForceRenderSurface(bool force)
|
| setNeedsCommit();
|
| }
|
|
|
| -void Layer::setImplTransform(const WebTransformationMatrix& transform)
|
| +void Layer::setImplTransform(const Transform& transform)
|
| {
|
| if (m_implTransform == transform)
|
| return;
|
| @@ -725,12 +725,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
|
|
|