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

Unified Diff: third_party/WebKit/Source/core/testing/Internals.cpp

Issue 2383113003: Refactor ScrollableArea::setScrollPosition. (Closed)
Patch Set: Created 4 years, 2 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/testing/Internals.cpp
diff --git a/third_party/WebKit/Source/core/testing/Internals.cpp b/third_party/WebKit/Source/core/testing/Internals.cpp
index 840546dac12637633adb9895e7f155badceeb735..36893f2e574e04b271d6414c6c5ebb07a3dce7f0 100644
--- a/third_party/WebKit/Source/core/testing/Internals.cpp
+++ b/third_party/WebKit/Source/core/testing/Internals.cpp
@@ -1051,7 +1051,7 @@ void Internals::setFrameViewPosition(Document* document,
bool scrollbarsSuppressedOldValue = frameView->scrollbarsSuppressed();
frameView->setScrollbarsSuppressed(false);
- frameView->setScrollOffsetFromInternals(IntPoint(x, y));
+ frameView->updateScrollPositionFromInternals(IntPoint(x, y));
frameView->setScrollbarsSuppressed(scrollbarsSuppressedOldValue);
}

Powered by Google App Engine
This is Rietveld 408576698