| Index: Source/core/paint/DeprecatedPaintLayer.cpp
|
| diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp
|
| index ab65b911838ce0184d324bcf406f3da45531eeb7..ec858d83c0209049b34bade1d83b7f78d4a8a6f4 100644
|
| --- a/Source/core/paint/DeprecatedPaintLayer.cpp
|
| +++ b/Source/core/paint/DeprecatedPaintLayer.cpp
|
| @@ -395,20 +395,10 @@ DeprecatedPaintLayer* DeprecatedPaintLayer::renderingContextRoot()
|
| return renderingContext;
|
| }
|
|
|
| -TransformationMatrix DeprecatedPaintLayer::currentTransform(ComputedStyle::ApplyTransformOrigin applyOrigin) const
|
| +TransformationMatrix DeprecatedPaintLayer::currentTransform() const
|
| {
|
| if (!m_transform)
|
| return TransformationMatrix();
|
| -
|
| - // m_transform includes transform-origin, so we need to recompute the transform here.
|
| - if (applyOrigin == ComputedStyle::ExcludeTransformOrigin) {
|
| - LayoutBox* box = layoutBox();
|
| - TransformationMatrix currTransform;
|
| - box->style()->applyTransform(currTransform, LayoutSize(box->pixelSnappedSize()), ComputedStyle::ExcludeTransformOrigin);
|
| - makeMatrixRenderable(currTransform, compositor()->hasAcceleratedCompositing());
|
| - return currTransform;
|
| - }
|
| -
|
| return *m_transform;
|
| }
|
|
|
|
|