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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.cpp

Issue 2604073002: Apply offset from the correct graphics layer; simplify code for link highlights. (Closed)
Patch Set: Created 4 years 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/layout/LayoutView.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.cpp b/third_party/WebKit/Source/core/layout/LayoutView.cpp
index 2f1dcc99da043538455c341a167fcef7342abcc1..269ad5bb07092e2f6d9ab4d97ddcf9000953944d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutView.cpp
@@ -531,8 +531,10 @@ void LayoutView::absoluteRects(Vector<IntRect>& rects,
pixelSnappedIntRect(accumulatedOffset, LayoutSize(layer()->size())));
}
-void LayoutView::absoluteQuads(Vector<FloatQuad>& quads) const {
- quads.append(FloatRect(FloatPoint(), FloatSize(layer()->size())));
+void LayoutView::absoluteQuads(Vector<FloatQuad>& quads,
+ MapCoordinatesFlags mode) const {
+ quads.append(localToAbsoluteQuad(
+ FloatRect(FloatPoint(), FloatSize(layer()->size())), mode));
}
static LayoutObject* layoutObjectAfterPosition(LayoutObject* object,

Powered by Google App Engine
This is Rietveld 408576698