| Index: third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp
|
| index f216b15f52e9c2e2b0470649535aae4fbd1cf4f6..9f8f334c8eb89cae5de877c4269d1259391af09d 100644
|
| --- a/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/ObjectPaintProperties.cpp
|
| @@ -10,15 +10,9 @@ ObjectPaintProperties::PropertyTreeStateWithOffset
|
| ObjectPaintProperties::contentsProperties() const {
|
| ObjectPaintProperties::PropertyTreeStateWithOffset propertiesWithOffset =
|
| *localBorderBoxProperties();
|
| - if (svgLocalToBorderBoxTransform()) {
|
| - propertiesWithOffset.propertyTreeState.setTransform(
|
| - svgLocalToBorderBoxTransform());
|
| - // There's no paint offset for the contents because
|
| - // svgLocalToBorderBoxTransform bakes in the paint offset.
|
| - propertiesWithOffset.paintOffset = LayoutPoint();
|
| - } else if (scrollTranslation()) {
|
| +
|
| + if (scrollTranslation())
|
| propertiesWithOffset.propertyTreeState.setTransform(scrollTranslation());
|
| - }
|
|
|
| if (overflowClip())
|
| propertiesWithOffset.propertyTreeState.setClip(overflowClip());
|
|
|