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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGText.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/svg/LayoutSVGText.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
index c4fa5142ec77c39c7e38232bd56de6de39d41e17..f3cf24c766e60a4ca722721658e89c26dc70d669 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
@@ -344,8 +344,9 @@ PositionWithAffinity LayoutSVGText::positionForPoint(
LayoutPoint(clippedPointInContents.x(), closestBox->y()));
}
-void LayoutSVGText::absoluteQuads(Vector<FloatQuad>& quads) const {
- quads.append(localToAbsoluteQuad(strokeBoundingBox()));
+void LayoutSVGText::absoluteQuads(Vector<FloatQuad>& quads,
+ MapCoordinatesFlags mode) const {
+ quads.append(localToAbsoluteQuad(strokeBoundingBox(), mode));
}
void LayoutSVGText::paint(const PaintInfo& paintInfo,

Powered by Google App Engine
This is Rietveld 408576698