[Webkit-unassigned] [Bug 159783] New: Check whether font is nonnull for GlyphData instead of calling GlyphData::isValid()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 14 14:33:16 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=159783
Bug ID: 159783
Summary: Check whether font is nonnull for GlyphData instead of
calling GlyphData::isValid()
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: MathML
Assignee: webkit-unassigned at lists.webkit.org
Reporter: fred.wang at free.fr
CC: cdumez at apple.com
See bug 155018 comment 36. Also, probably the reason for bug 159702.
fred at debian:~/webkit/WebKit/Source/WebCore/rendering/mathml$ grep '\.isValid' *
MathOperator.cpp: return data.isValid() ? data.font->boundsForGlyph(data.glyph) : FloatRect();
MathOperator.cpp: return data.isValid() ? data.font->widthForGlyph(data.glyph) : 0;
MathOperator.cpp: return baseGlyph.isValid() && baseGlyph.font == &style.fontCascade().primaryFont();
MathOperator.cpp: ASSERT(sizeVariant.isValid());
MathOperator.cpp: ASSERT(m_assembly.extension.isValid());
MathOperator.cpp: ASSERT(m_assembly.extension.isValid());
MathOperator.cpp: ASSERT(m_assembly.topOrRight.isValid());
MathOperator.cpp: ASSERT(m_assembly.bottomOrLeft.isValid());
MathOperator.cpp: if (m_assembly.middle.isValid()) {
MathOperator.cpp: ASSERT(m_assembly.bottomOrLeft.isValid());
MathOperator.cpp: ASSERT(m_assembly.topOrRight.isValid());
MathOperator.cpp: if (m_assembly.middle.isValid()) {
MathOperator.cpp: ASSERT(m_variant.isValid());
RenderMathMLOperator.cpp: float glyphWidth = data.isValid() ? data.font->widthForGlyph(data.glyph) : 0;
RenderMathMLToken.cpp: if (m_mathVariantGlyph.isValid()) {
RenderMathMLToken.cpp: if (m_mathVariantGlyph.isValid())
RenderMathMLToken.cpp: if (!m_mathVariantGlyph.isValid()) {
RenderMathMLToken.cpp: if (info.context().paintingDisabled() || info.phase != PaintPhaseForeground || style().visibility() != VISIBLE || !m_mathVariantGlyph.isValid())
RenderMathMLToken.cpp: if (m_mathVariantGlyph.isValid())
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160714/88f869a8/attachment.html>
More information about the webkit-unassigned
mailing list