diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/layout/ng/mathml/ng_math_scripts_layout_algorithm.cc')
-rw-r--r-- | chromium/third_party/blink/renderer/core/layout/ng/mathml/ng_math_scripts_layout_algorithm.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/core/layout/ng/mathml/ng_math_scripts_layout_algorithm.cc b/chromium/third_party/blink/renderer/core/layout/ng/mathml/ng_math_scripts_layout_algorithm.cc index 771d5a55af0..1f0790bbcec 100644 --- a/chromium/third_party/blink/renderer/core/layout/ng/mathml/ng_math_scripts_layout_algorithm.cc +++ b/chromium/third_party/blink/renderer/core/layout/ng/mathml/ng_math_scripts_layout_algorithm.cc @@ -15,7 +15,7 @@ namespace { using MathConstants = OpenTypeMathSupport::MathConstants; -static bool IsPrescriptDelimiter(const NGBlockNode& blockNode) { +bool MyIsPrescriptDelimiter(const NGBlockNode& blockNode) { auto* node = blockNode.GetDOMNode(); return node && IsA<MathMLElement>(node) && node->HasTagName(mathml_names::kMprescriptsTag); @@ -147,7 +147,7 @@ void NGMathScriptsLayoutAlgorithm::GatherChildren( case MathScriptType::kMultiscripts: { // The structure of mmultiscripts is specified here: // https://mathml-refresh.github.io/mathml-core/#prescripts-and-tensor-indices-mmultiscripts - if (IsPrescriptDelimiter(block_child)) { + if (MyIsPrescriptDelimiter(block_child)) { if (!number_of_scripts_is_even || *prescripts) { NOTREACHED(); return; |