Changeset 202569 in webkit


Ignore:
Timestamp:
Jun 28, 2016 8:36:13 AM (8 years ago)
Author:
fred.wang@free.fr
Message:

Remove anonymous in renderName for all MathML renderers but RenderMathMLOperator
https://bugs.webkit.org/show_bug.cgi?id=159114

Patch by Frederic Wang <fwang@igalia.com> on 2016-06-28
Reviewed by Martin Robinson.

After r202420, the only anonymous MathML renderers are the RenderMathMLOperators created by
the mfenced element. Hence we remove the special case for anonymous in the renderName
implementation of most MathML renderers.

No new tests, behavior unchanged.

  • rendering/mathml/RenderMathMLRow.h:
  • rendering/mathml/RenderMathMLSpace.h:
  • rendering/mathml/RenderMathMLToken.h:
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r202565 r202569  
     12016-06-28  Frederic Wang  <fwang@igalia.com>
     2
     3        Remove anonymous in renderName for all MathML renderers but RenderMathMLOperator
     4        https://bugs.webkit.org/show_bug.cgi?id=159114
     5
     6        Reviewed by Martin Robinson.
     7
     8        After r202420, the only anonymous MathML renderers are the RenderMathMLOperators created by
     9        the mfenced element. Hence we remove the special case for anonymous in the renderName
     10        implementation of most MathML renderers.
     11
     12        No new tests, behavior unchanged.
     13
     14        * rendering/mathml/RenderMathMLRow.h:
     15        * rendering/mathml/RenderMathMLSpace.h:
     16        * rendering/mathml/RenderMathMLToken.h:
     17
    1182016-06-28  Adam Bergkvist  <adam.bergkvist@ericsson.com>
    219
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLRow.h

    r200041 r202569  
    5454private:
    5555    bool isRenderMathMLRow() const final { return true; }
    56     const char* renderName() const override { return isAnonymous() ? "RenderMathMLRow (anonymous)" : "RenderMathMLRow"; }
     56    const char* renderName() const override { return "RenderMathMLRow"; }
    5757};
    5858
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.h

    r200041 r202569  
    4040
    4141private:
    42     const char* renderName() const final { return isAnonymous() ? "RenderMathMLSpace (anonymous)" : "RenderMathMLSpace"; }
     42    const char* renderName() const final { return "RenderMathMLSpace"; }
    4343    bool isRenderMathMLSpace() const final { return true; }
    4444    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) final;
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLToken.h

    r202420 r202569  
    5555private:
    5656    bool isRenderMathMLToken() const final { return true; }
    57     const char* renderName() const override { return isAnonymous() ? "RenderMathMLToken (anonymous)" : "RenderMathMLToken"; }
     57    const char* renderName() const override { return "RenderMathMLToken"; }
    5858    void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
    5959    void updateMathVariantGlyph();
Note: See TracChangeset for help on using the changeset viewer.