Changeset 247641 in webkit


Ignore:
Timestamp:
Jul 19, 2019 2:11:35 AM (5 years ago)
Author:
commit-queue@webkit.org
Message:

Remove some unneeded code in MathOperator
https://bugs.webkit.org/show_bug.cgi?id=199935

Patch by Rob Buis <rbuis@igalia.com> on 2019-07-19
Reviewed by Frédéric Wang.

The initialize method is unneeded since the member
variables all use default initialization.

No new tests, not changing behavior.

  • rendering/mathml/MathOperator.cpp:

(WebCore::MathOperator::MathOperator):
(WebCore::MathOperator::GlyphAssemblyData::initialize): Deleted.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r247627 r247641  
     12019-07-19  Rob Buis  <rbuis@igalia.com>
     2
     3        Remove some unneeded code in MathOperator
     4        https://bugs.webkit.org/show_bug.cgi?id=199935
     5
     6        Reviewed by Frédéric Wang.
     7
     8        The initialize method is unneeded since the member
     9        variables all use default initialization.
     10
     11        No new tests, not changing behavior.
     12
     13        * rendering/mathml/MathOperator.cpp:
     14        (WebCore::MathOperator::MathOperator):
     15        (WebCore::MathOperator::GlyphAssemblyData::initialize): Deleted.
     16
    1172019-07-18  Antoine Quint  <graouts@apple.com>
    218
  • trunk/Source/WebCore/rendering/mathml/MathOperator.cpp

    r245543 r247641  
    8787};
    8888
    89 void MathOperator::GlyphAssemblyData::initialize()
    90 {
    91     topOrRightCodePoint = 0;
    92     topOrRightFallbackGlyph = 0;
    93     extensionCodePoint = 0;
    94     extensionFallbackGlyph = 0;
    95     bottomOrLeftCodePoint = 0;
    96     bottomOrLeftFallbackGlyph = 0;
    97     middleCodePoint = 0;
    98     middleFallbackGlyph = 0;
    99 }
    100    
    10189MathOperator::MathOperator()
    10290{
    103     m_assembly.initialize();
    10491    m_variantGlyph = 0;
    10592}
Note: See TracChangeset for help on using the changeset viewer.