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

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: remove offset/scale params, rename commands, clip by backing size. 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 459200019d647bf7c82659f05c821a8f2de435c4..a1b0d6bf1bd471b1a1d7806d1e05f40435d2383a 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