Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
index 3ea84066f96f7fdc9bbe7b30a454d6fc1bc15a1b..b4b3900d543d31771f86de8a4a9423348cbb3a8f 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp |
@@ -271,8 +271,9 @@ void LayoutBox::styleDidChange(StyleDifference diff, |
oldStyle->effectiveZoom() != newStyle.effectiveZoom()) { |
PaintLayerScrollableArea* scrollableArea = this->getScrollableArea(); |
ASSERT(scrollableArea); |
- // We use scrollOffset() rather than scrollPosition(), because scrollOffset is the distance |
- // from the beginning of flow for the box, which is the dimension we want to preserve. |
+ // We use scrollOffset() rather than scrollPosition(), because scrollOffset |
+ // is the distance from the beginning of flow for the box, which is the |
+ // dimension we want to preserve. |
ScrollOffset oldOffset = scrollableArea->scrollOffset(); |
if (oldOffset.width() || oldOffset.height()) { |
ScrollOffset newOffset = oldOffset.scaledBy(newStyle.effectiveZoom() / |