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 8a87af32c5a306d3ff70f9d4758a070659153700..3fc48e261085a970778e07e4af3897d830af356b 100644 |
--- a/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
+++ b/third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp |
@@ -1094,7 +1094,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); |
} |
} |