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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp

Issue 2604073002: Apply offset from the correct graphics layer; simplify code for link highlights. (Closed)
Patch Set: none 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/LayoutSVGModelObject.cpp
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
index 7e3c825149e0ec7c04ddc5233dc6c58f92d1b8c3..e7bd6bf952317d84ea93107d693f95ba6a602562 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGModelObject.cpp
@@ -83,8 +83,9 @@ void LayoutSVGModelObject::absoluteRects(
rects.append(rect);
}
-void LayoutSVGModelObject::absoluteQuads(Vector<FloatQuad>& quads) const {
- quads.append(localToAbsoluteQuad(strokeBoundingBox()));
+void LayoutSVGModelObject::absoluteQuads(Vector<FloatQuad>& quads,
+ MapCoordinatesFlags mode) const {
+ quads.append(localToAbsoluteQuad(strokeBoundingBox(), mode));
}
FloatRect LayoutSVGModelObject::localBoundingBoxRectForAccessibility() const {

Powered by Google App Engine
This is Rietveld 408576698