Index: third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp b/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp |
index ea4ebaa56561fa7d9bee2e66d2c6b7856f7c3c95..ec0a4e918c35ee14c6dd1d1f25d2600fdb835f6e 100644 |
--- a/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/ProgrammaticScrollTest.cpp |
@@ -58,8 +58,9 @@ TEST_F(ProgrammaticScrollTest, RestoreScrollPositionAndViewStateWithScale) { |
loader.currentItem()->setPageScaleFactor(2); |
loader.currentItem()->setScrollPoint(WebPoint(0, 200)); |
- // Flip back the wasScrolledByUser flag which was set to true by setPageScaleFactor |
- // because otherwise FrameLoader::restoreScrollPositionAndViewState does nothing. |
+ // Flip back the wasScrolledByUser flag which was set to true by |
+ // setPageScaleFactor because otherwise |
+ // FrameLoader::restoreScrollPositionAndViewState does nothing. |
loader.documentLoader()->initialScrollState().wasScrolledByUser = false; |
loader.restoreScrollPositionAndViewState(); |
@@ -87,7 +88,8 @@ TEST_F(ProgrammaticScrollTest, RestoreScrollPositionAndViewStateWithoutScale) { |
loader.currentItem()->setPageScaleFactor(0); |
loader.currentItem()->setScrollPoint(WebPoint(0, 400)); |
- // FrameLoader::restoreScrollPositionAndViewState flows differently if scale is zero. |
+ // FrameLoader::restoreScrollPositionAndViewState flows differently if scale |
+ // is zero. |
loader.restoreScrollPositionAndViewState(); |
// Expect that only the scroll position was restored. |