diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/css/style_recalc_root.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/css/style_recalc_root.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/css/style_recalc_root.cc b/chromium/third_party/blink/renderer/core/css/style_recalc_root.cc index 8c887718413..0a251fbd4f0 100644 --- a/chromium/third_party/blink/renderer/core/css/style_recalc_root.cc +++ b/chromium/third_party/blink/renderer/core/css/style_recalc_root.cc @@ -31,7 +31,7 @@ Element& StyleRecalcRoot::RootElement() const { } if (root_node->IsTextNode()) return *root_node->parentElement(); - return ToElement(*root_node); + return To<Element>(*root_node); } #if DCHECK_IS_ON() |