Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp

Issue 2237433004: Adds DevTools commands for forced viewport override. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sync. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
diff --git a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
index 9237e04590abe81fc6949bfd8b2280c75224019d..6baad8c4a92fd467056ffa3e64071a5d0ed8d167 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.cpp
@@ -413,7 +413,7 @@ void PaintLayerScrollableArea::setScrollOffset(const DoublePoint& newScrollOffse
// Inform the FrameLoader of the new scroll position, so it can be restored when navigating back.
if (layer()->isRootLayer()) {
frameView->frame().loader().saveScrollState();
- frame->loader().client()->didChangeScrollOffset();
+ frameView->didChangeScrollOffset();
}
// All scrolls clear the fragment anchor.

Powered by Google App Engine
This is Rietveld 408576698