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

Unified Diff: third_party/WebKit/Source/web/LinkHighlightImpl.cpp

Issue 2383113003: Refactor ScrollableArea::setScrollPosition. (Closed)
Patch Set: Created 4 years, 3 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/web/LinkHighlightImpl.cpp
diff --git a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
index 011012bec7cef2e4370f443ca530dbc2c74f3808..496dda7a88013ecd58873c8237ae444d19086452 100644
--- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
+++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
@@ -263,7 +263,7 @@ bool LinkHighlightImpl::computeHighlightLayerPathAndPosition(
if (m_isScrollingGraphicsLayer) {
DoubleSize adjustedScrollOffset = paintInvalidationContainer.layer()
->getScrollableArea()
- ->adjustedScrollOffset();
+ ->offsetFromOrigin();
absoluteQuad.move(adjustedScrollOffset.width(),
adjustedScrollOffset.height());
}

Powered by Google App Engine
This is Rietveld 408576698