| Index: third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| index bf203b4571dceb89135ecc6d412ddf2f908d6194..18d09fcc0e012995754c310a142c7be7ceab9ef3 100644
|
| --- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp
|
| @@ -1120,7 +1120,8 @@ void CompositedLayerMapping::computeGraphicsLayerParentLocation(
|
| IntSize scrollOffset = layoutBox->scrolledContentOffset();
|
| IntPoint scrollOrigin =
|
| compositingContainer->getScrollableArea()->scrollOrigin();
|
| - scrollOrigin.move(-layoutBox->borderLeft(), -layoutBox->borderTop());
|
| + scrollOrigin.move(-layoutBox->borderLeft().toInt(),
|
| + -layoutBox->borderTop().toInt());
|
| graphicsLayerParentLocation = -(scrollOrigin + scrollOffset);
|
| }
|
| }
|
|
|