Chromium Code Reviews| Index: third_party/WebKit/Source/core/page/Page.cpp |
| diff --git a/third_party/WebKit/Source/core/page/Page.cpp b/third_party/WebKit/Source/core/page/Page.cpp |
| index fe3e99ea8e0f9a28f94f496c9aba209c8ad98917..68ccfa051055257f0717b1d4ec10990256d44c72 100644 |
| --- a/third_party/WebKit/Source/core/page/Page.cpp |
| +++ b/third_party/WebKit/Source/core/page/Page.cpp |
| @@ -436,6 +436,7 @@ void Page::didCommitLoad(LocalFrame* frame) |
| useCounter().didCommitLoad(); |
| deprecation().clearSuppression(); |
| frameHost().visualViewport().sendUMAMetrics(); |
| + frameHost().visualViewport().setScrollPosition(DoublePoint(), ProgrammaticScroll); |
|
bokan
2016/09/12 18:55:23
Please add a comment that we need to reset the scr
|
| m_hostsUsingFeatures.updateMeasurementsAndClear(); |
| UserGestureIndicator::clearProcessedUserGestureSinceLoad(); |
| } |