summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_text_path.cc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-16 11:45:35 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-07-17 08:59:23 +0000
commit552906b0f222c5d5dd11b9fd73829d510980461a (patch)
tree3a11e6ed0538a81dd83b20cf3a4783e297f26d91 /chromium/third_party/blink/renderer/core/layout/svg/layout_svg_text_path.cc
parent1b05827804eaf047779b597718c03e7d38344261 (diff)
downloadqtwebengine-chromium-552906b0f222c5d5dd11b9fd73829d510980461a.tar.gz
BASELINE: Update Chromium to 83.0.4103.122
Change-Id: Ie3a82f5bb0076eec2a7c6a6162326b4301ee291e Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/svg/layout_svg_text_path.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/layout/svg/layout_svg_text_path.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_text_path.cc b/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_text_path.cc
index bcf433726ee..1290e22820c 100644
--- a/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_text_path.cc
+++ b/chromium/third_party/blink/renderer/core/layout/svg/layout_svg_text_path.cc
@@ -62,8 +62,7 @@ bool LayoutSVGTextPath::IsChildAllowed(LayoutObject* child,
std::unique_ptr<PathPositionMapper> LayoutSVGTextPath::LayoutPath() const {
const auto& text_path_element = To<SVGTextPathElement>(*GetNode());
Element* target_element = SVGURIReference::TargetElementFromIRIString(
- text_path_element.HrefString(),
- text_path_element.TreeScopeForIdResolution());
+ text_path_element.HrefString(), text_path_element.OriginatingTreeScope());
const auto* path_element = DynamicTo<SVGPathElement>(target_element);
if (!path_element)