Changeset 157810 in webkit


Ignore:
Timestamp:
Oct 22, 2013, 2:03:38 PM (11 years ago)
Author:
Antti Koivisto
Message:

Rename some line box functions to be just about lines
https://bugs.webkit.org/show_bug.cgi?id=123168

Reviewed by Dave Hyatt.

firstLineBoxBaseline -> firstLineBaseline
hasInlineBoxChildren -> hasLines

Also use hasLines in a bunch of places where firstLineBox() was used.

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):

Also use hasRenderedText() instead of firstTextBox()

  • rendering/RenderFullScreen.cpp:


Fix namespace.

Location:
trunk/Source/WebCore
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r157808 r157810  
     12013-10-22  Antti Koivisto  <antti@apple.com>
     2
     3        Rename some line box functions to be just about lines
     4        https://bugs.webkit.org/show_bug.cgi?id=123168
     5
     6        Reviewed by Dave Hyatt.
     7
     8        firstLineBoxBaseline -> firstLineBaseline
     9        hasInlineBoxChildren -> hasLines
     10       
     11        Also use hasLines in a bunch of places where firstLineBox() was used.
     12
     13        * accessibility/AccessibilityRenderObject.cpp:
     14        (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
     15       
     16            Also use hasRenderedText() instead of firstTextBox()
     17
     18        * rendering/RenderFullScreen.cpp:
     19       
     20            Fix namespace.
     21
    1222013-10-22  Thiago de Barros Lacerda  <thiago.lacerda@openbossa.org>
    223
  • trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp

    r157705 r157810  
    11671167        if (parent && (parent->isMenuItem() || parent->ariaRoleAttribute() == MenuButtonRole))
    11681168            return true;
    1169         RenderText* renderText = toRenderText(m_renderer);
    1170         if (!renderText->firstTextBox())
     1169        auto& renderText = toRenderText(*m_renderer);
     1170        if (!renderText.hasRenderedText())
    11711171            return true;
    11721172
     
    11781178
    11791179        // text elements that are just empty whitespace should not be returned
    1180         return renderText->text()->containsOnlyWhitespace();
     1180        return renderText.text()->containsOnlyWhitespace();
    11811181    }
    11821182   
     
    12321232   
    12331233    if (m_renderer->isRenderBlockFlow() && m_renderer->childrenInline() && !canSetFocusAttribute())
    1234         return !toRenderBlockFlow(m_renderer)->firstLineBox() && !mouseButtonListener();
     1234        return !toRenderBlockFlow(m_renderer)->hasLines() && !mouseButtonListener();
    12351235   
    12361236    // ignore images seemingly used as spacers
  • trunk/Source/WebCore/rendering/InlineTextBox.cpp

    r157514 r157810  
    466466
    467467    // The emphasis marks over are suppressed only if there is a ruby text box and it not empty.
    468     return !rubyText || !rubyText->firstLineBox();
     468    return !rubyText || !rubyText->hasLines();
    469469}
    470470
  • trunk/Source/WebCore/rendering/RenderBlock.cpp

    r157793 r157810  
    11961196        // line boxes, then we can't be self-collapsing, since we have content.
    11971197        if (childrenInline())
    1198             return !hasInlineBoxChildren();
     1198            return !hasLines();
    11991199       
    12001200        // Whether or not we collapse is dependent on whether all our normal flow children
     
    46184618}
    46194619
    4620 int RenderBlock::firstLineBoxBaseline() const
     4620int RenderBlock::firstLineBaseline() const
    46214621{
    46224622    if (isWritingModeRoot() && !isRubyRun())
     
    46254625    for (RenderBox* curr = firstChildBox(); curr; curr = curr->nextSiblingBox()) {
    46264626        if (!curr->isFloatingOrOutOfFlowPositioned()) {
    4627             int result = curr->firstLineBoxBaseline();
     4627            int result = curr->firstLineBaseline();
    46284628            if (result != -1)
    46294629                return curr->logicalTop() + result; // Translate to our coordinate space.
     
    46404640
    46414641    bool haveNormalFlowChild = false;
    4642     for (RenderBox* curr = lastChildBox(); curr; curr = curr->previousSiblingBox()) {
    4643         if (!curr->isFloatingOrOutOfFlowPositioned()) {
    4644             haveNormalFlowChild = true;
    4645             int result = curr->inlineBlockBaseline(lineDirection);
    4646             if (result != -1)
    4647                 return curr->logicalTop() + result; // Translate to our coordinate space.
    4648         }
     4642    for (auto box = lastChildBox(); box; box = box->previousSiblingBox()) {
     4643        if (box->isFloatingOrOutOfFlowPositioned())
     4644            continue;
     4645        haveNormalFlowChild = true;
     4646        int result = box->inlineBlockBaseline(lineDirection);
     4647        if (result != -1)
     4648            return box->logicalTop() + result; // Translate to our coordinate space.
    46494649    }
    46504650
    46514651    if (!haveNormalFlowChild && hasLineIfEmpty()) {
    4652         const FontMetrics& fontMetrics = firstLineStyle()->fontMetrics();
     4652        auto& fontMetrics = firstLineStyle()->fontMetrics();
    46534653        return fontMetrics.ascent()
    46544654             + (lineHeight(true, lineDirection, PositionOfInteriorLineBoxes) - fontMetrics.height()) / 2
  • trunk/Source/WebCore/rendering/RenderBlock.h

    r157793 r157810  
    459459    void adjustIntrinsicLogicalWidthsForColumns(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const;
    460460
    461     virtual int firstLineBoxBaseline() const OVERRIDE;
     461    virtual int firstLineBaseline() const OVERRIDE;
    462462    virtual int inlineBlockBaseline(LineDirectionMode) const OVERRIDE;
    463463
     
    542542    virtual bool isSelfCollapsingBlock() const OVERRIDE FINAL;
    543543    // FIXME-BLOCKFLOW: Remove virtualizaion when all callers have moved to RenderBlockFlow
    544     virtual bool hasInlineBoxChildren() const { return false; }
     544    virtual bool hasLines() const { return false; }
    545545
    546546    void insertIntoTrackedRendererMaps(RenderBox* descendant, TrackedDescendantsMap*&, TrackedContainerMap*&);
  • trunk/Source/WebCore/rendering/RenderBlockFlow.cpp

    r157793 r157810  
    24892489}
    24902490
    2491 int RenderBlockFlow::firstLineBoxBaseline() const
     2491int RenderBlockFlow::firstLineBaseline() const
    24922492{
    24932493    if (isWritingModeRoot() && !isRubyRun())
     
    24952495
    24962496    if (!childrenInline())
    2497         return RenderBlock::firstLineBoxBaseline();
     2497        return RenderBlock::firstLineBaseline();
    24982498
    24992499    if (firstLineBox())
     
    25112511        return RenderBlock::inlineBlockBaseline(lineDirection);
    25122512
    2513     if (!firstLineBox() && hasLineIfEmpty()) {
     2513    if (!hasLines()) {
     2514        if (!hasLineIfEmpty())
     2515            return -1;
    25142516        const FontMetrics& fontMetrics = firstLineStyle()->fontMetrics();
    25152517        return fontMetrics.ascent()
     
    25182520    }
    25192521
    2520     if (lastLineBox()) {
    2521         bool isFirstLine = lastLineBox() == firstLineBox();
    2522         RenderStyle* style = isFirstLine ? firstLineStyle() : this->style();
    2523         return lastLineBox()->logicalTop() + style->fontMetrics().ascent(lastRootBox()->baselineType());
    2524     }
    2525     return -1;
     2522    bool isFirstLine = lastLineBox() == firstLineBox();
     2523    RenderStyle* style = isFirstLine ? firstLineStyle() : this->style();
     2524    return lastLineBox()->logicalTop() + style->fontMetrics().ascent(lastRootBox()->baselineType());
    25262525}
    25272526
     
    25332532    bool containsStart = selectionState() == SelectionStart || selectionState() == SelectionBoth;
    25342533
    2535     if (!firstLineBox()) {
     2534    if (!hasLines()) {
    25362535        if (containsStart) {
    25372536            // Go ahead and update our lastLogicalTop to be the bottom of the block.  <hr>s or empty blocks with height can trip this
  • trunk/Source/WebCore/rendering/RenderBlockFlow.h

    r157793 r157810  
    308308    RootInlineBox* lastRootBox() const { return static_cast<RootInlineBox*>(lastLineBox()); }
    309309
    310     virtual bool hasInlineBoxChildren() const OVERRIDE FINAL { return firstLineBox(); }
     310    virtual bool hasLines() const OVERRIDE FINAL { return firstLineBox(); }
    311311
    312312    // Helper methods for computing line counts and heights for line counts.
     
    365365    void createFloatingObjects();
    366366
    367     virtual int firstLineBoxBaseline() const OVERRIDE;
     367    virtual int firstLineBaseline() const OVERRIDE;
    368368    virtual int inlineBlockBaseline(LineDirectionMode) const OVERRIDE;
    369369
  • trunk/Source/WebCore/rendering/RenderBox.h

    r157408 r157810  
    509509    RenderLayer* enclosingFloatPaintingLayer() const;
    510510   
    511     virtual int firstLineBoxBaseline() const { return -1; }
     511    virtual int firstLineBaseline() const { return -1; }
    512512    virtual int inlineBlockBaseline(LineDirectionMode) const { return -1; } // Returns -1 if we should skip this box when computing the baseline of an inline-block.
    513513
  • trunk/Source/WebCore/rendering/RenderDeprecatedFlexibleBox.cpp

    r157793 r157810  
    442442            // Update our height and overflow height.
    443443            if (style()->boxAlign() == BBASELINE) {
    444                 LayoutUnit ascent = child->firstLineBoxBaseline();
     444                LayoutUnit ascent = child->firstLineBaseline();
    445445                if (ascent == -1)
    446446                    ascent = child->height() + child->marginBottom();
     
    520520                    break;
    521521                case BBASELINE: {
    522                     LayoutUnit ascent = child->firstLineBoxBaseline();
     522                    LayoutUnit ascent = child->firstLineBaseline();
    523523                    if (ascent == -1)
    524524                        ascent = child->height() + child->marginBottom();
  • trunk/Source/WebCore/rendering/RenderFlexibleBox.cpp

    r157793 r157810  
    242242int RenderFlexibleBox::baselinePosition(FontBaseline, bool, LineDirectionMode direction, LinePositionMode) const
    243243{
    244     int baseline = firstLineBoxBaseline();
     244    int baseline = firstLineBaseline();
    245245    if (baseline == -1)
    246246        baseline = synthesizedBaselineFromContentBox(this, direction);
     
    250250}
    251251
    252 int RenderFlexibleBox::firstLineBoxBaseline() const
     252int RenderFlexibleBox::firstLineBaseline() const
    253253{
    254254    if (isWritingModeRoot() || m_numberOfInFlowChildrenOnFirstLine <= 0)
     
    279279        return mainAxisExtentForChild(baselineChild) + baselineChild->logicalTop();
    280280
    281     int baseline = baselineChild->firstLineBoxBaseline();
     281    int baseline = baselineChild->firstLineBaseline();
    282282    if (baseline == -1) {
    283283        // FIXME: We should pass |direction| into firstLineBoxBaseline and stop bailing out if we're a writing mode root.
     
    292292int RenderFlexibleBox::inlineBlockBaseline(LineDirectionMode direction) const
    293293{
    294     int baseline = firstLineBoxBaseline();
     294    int baseline = firstLineBaseline();
    295295    if (baseline != -1)
    296296        return baseline;
     
    895895LayoutUnit RenderFlexibleBox::marginBoxAscentForChild(RenderBox* child)
    896896{
    897     LayoutUnit ascent = child->firstLineBoxBaseline();
     897    LayoutUnit ascent = child->firstLineBaseline();
    898898    if (ascent == -1)
    899899        ascent = crossAxisExtentForChild(child);
  • trunk/Source/WebCore/rendering/RenderFlexibleBox.h

    r157408 r157810  
    5050
    5151    virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const OVERRIDE;
    52     virtual int firstLineBoxBaseline() const OVERRIDE;
     52    virtual int firstLineBaseline() const OVERRIDE;
    5353    virtual int inlineBlockBaseline(LineDirectionMode) const OVERRIDE;
    5454
  • trunk/Source/WebCore/rendering/RenderFullScreen.cpp

    r157683 r157810  
    3636#endif
    3737
    38 using namespace WebCore;
     38namespace WebCore {
    3939
    4040class RenderFullScreenPlaceholder FINAL : public RenderBlockFlow {
     
    186186}
    187187
     188}
     189
    188190#endif
  • trunk/Source/WebCore/rendering/RenderMenuList.h

    r157515 r157810  
    123123        return RenderBlock::baselinePosition(baseline, firstLine, direction, position);
    124124    }
    125     virtual int firstLineBoxBaseline() const OVERRIDE { return RenderBlock::firstLineBoxBaseline(); }
     125    virtual int firstLineBaseline() const OVERRIDE { return RenderBlock::firstLineBaseline(); }
    126126    virtual int inlineBlockBaseline(LineDirectionMode direction) const OVERRIDE { return RenderBlock::inlineBlockBaseline(direction); }
    127127
  • trunk/Source/WebCore/rendering/RenderTable.cpp

    r157665 r157810  
    13361336int RenderTable::baselinePosition(FontBaseline baselineType, bool firstLine, LineDirectionMode direction, LinePositionMode linePositionMode) const
    13371337{
    1338     LayoutUnit baseline = firstLineBoxBaseline();
     1338    LayoutUnit baseline = firstLineBaseline();
    13391339    if (baseline != -1)
    13401340        return baseline;
     
    13491349}
    13501350
    1351 int RenderTable::firstLineBoxBaseline() const
     1351int RenderTable::firstLineBaseline() const
    13521352{
    13531353    // The baseline of a 'table' is the same as the 'inline-table' baseline per CSS 3 Flexbox (CSS 2.1
     
    13641364        return -1;
    13651365
    1366     int baseline = topNonEmptySection->firstLineBoxBaseline();
     1366    int baseline = topNonEmptySection->firstLineBaseline();
    13671367    if (baseline > 0)
    13681368        return topNonEmptySection->logicalTop() + baseline;
  • trunk/Source/WebCore/rendering/RenderTable.h

    r157408 r157810  
    285285
    286286    virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode = PositionOnContainingLine) const OVERRIDE FINAL;
    287     virtual int firstLineBoxBaseline() const OVERRIDE;
     287    virtual int firstLineBaseline() const OVERRIDE;
    288288    virtual int inlineBlockBaseline(LineDirectionMode) const OVERRIDE FINAL;
    289289
  • trunk/Source/WebCore/rendering/RenderTableCell.cpp

    r157683 r157810  
    398398    // the first in-flow line box in the cell, or the first in-flow table-row in the cell, whichever comes first. If there
    399399    // is no such line box or table-row, the baseline is the bottom of content edge of the cell box.
    400     LayoutUnit firstLineBaseline = firstLineBoxBaseline();
    401     if (firstLineBaseline != -1)
    402         return firstLineBaseline;
     400    LayoutUnit baseline = firstLineBaseline();
     401    if (baseline != -1)
     402        return baseline;
    403403    return borderAndPaddingBefore() + contentLogicalHeight();
    404404}
  • trunk/Source/WebCore/rendering/RenderTableSection.cpp

    r157665 r157810  
    916916}
    917917
    918 int RenderTableSection::firstLineBoxBaseline() const
     918int RenderTableSection::firstLineBaseline() const
    919919{
    920920    if (!m_grid.size())
  • trunk/Source/WebCore/rendering/RenderTableSection.h

    r157579 r157810  
    7474    virtual void addChild(RenderObject* child, RenderObject* beforeChild = 0) OVERRIDE;
    7575
    76     virtual int firstLineBoxBaseline() const OVERRIDE;
     76    virtual int firstLineBaseline() const OVERRIDE;
    7777
    7878    void addCell(RenderTableCell*, RenderTableRow* row);
  • trunk/Source/WebCore/rendering/RenderTextControl.h

    r157694 r157810  
    115115        return RenderBlock::baselinePosition(baseline, firstLine, direction, position);
    116116    }
    117     virtual int firstLineBoxBaseline() const OVERRIDE { return RenderBlock::firstLineBoxBaseline(); }
     117    virtual int firstLineBaseline() const OVERRIDE { return RenderBlock::firstLineBaseline(); }
    118118    virtual int inlineBlockBaseline(LineDirectionMode direction) const OVERRIDE { return RenderBlock::inlineBlockBaseline(direction); }
    119119
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp

    r157665 r157810  
    7575        return 0;
    7676   
    77     LayoutUnit baseline = firstLineBoxBaseline(); // FIXME: This may be unnecessary after flex baselines are implemented (https://bugs.webkit.org/show_bug.cgi?id=96188).
     77    LayoutUnit baseline = firstLineBaseline(); // FIXME: This may be unnecessary after flex baselines are implemented (https://bugs.webkit.org/show_bug.cgi?id=96188).
    7878    if (baseline != -1)
    7979        return baseline;
     
    302302}
    303303
    304 int RenderMathMLTable::firstLineBoxBaseline() const
    305 {
    306     // In legal MathML, we'll have a MathML parent. That RenderFlexibleBox parent will use our firstLineBoxBaseline() for baseline alignment, per
     304int RenderMathMLTable::firstLineBaseline() const
     305{
     306    // In legal MathML, we'll have a MathML parent. That RenderFlexibleBox parent will use our firstLineBaseline() for baseline alignment, per
    307307    // http://dev.w3.org/csswg/css3-flexbox/#flex-baselines. We want to vertically center an <mtable>, such as a matrix. Essentially the whole <mtable> element fits on a
    308308    // single line, whose baseline gives this centering. This is different than RenderTable::firstLineBoxBaseline, which returns the baseline of the first row of a <table>.
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLBlock.h

    r157509 r157810  
    108108    }
    109109   
    110     virtual int firstLineBoxBaseline() const OVERRIDE;
     110    virtual int firstLineBaseline() const OVERRIDE;
    111111   
    112112private:
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.cpp

    r157791 r157810  
    160160}
    161161
    162 int RenderMathMLFraction::firstLineBoxBaseline() const
     162int RenderMathMLFraction::firstLineBaseline() const
    163163{
    164164    if (RenderBox* denominatorWrapper = lastChildBox())
    165165        return denominatorWrapper->logicalTop() + static_cast<int>(lroundf((m_lineThickness + style()->fontMetrics().xHeight()) / 2));
    166     return RenderMathMLBlock::firstLineBoxBaseline();
     166    return RenderMathMLBlock::firstLineBaseline();
    167167}
    168168
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLFraction.h

    r157791 r157810  
    4848    virtual void addChild(RenderObject* child, RenderObject* beforeChild) OVERRIDE;
    4949    virtual void updateFromElement() OVERRIDE;
    50     virtual int firstLineBoxBaseline() const OVERRIDE;
     50    virtual int firstLineBaseline() const OVERRIDE;
    5151    virtual void paint(PaintInfo&, const LayoutPoint&) OVERRIDE;
    5252    virtual RenderMathMLOperator* unembellishedOperator() OVERRIDE;
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.cpp

    r157665 r157810  
    266266}
    267267
    268 int RenderMathMLOperator::firstLineBoxBaseline() const
     268int RenderMathMLOperator::firstLineBaseline() const
    269269{
    270270    if (m_isStretched)
    271271        return expandedStretchHeight() * 2 / 3 - (expandedStretchHeight() - m_stretchHeight) / 2;
    272     return RenderMathMLBlock::firstLineBoxBaseline();
     272    return RenderMathMLBlock::firstLineBaseline();
    273273}
    274274
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLOperator.h

    r157599 r157810  
    7171    virtual void computePreferredLogicalWidths() OVERRIDE;
    7272    virtual void computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues&) const OVERRIDE;
    73     virtual int firstLineBoxBaseline() const OVERRIDE;
     73    virtual int firstLineBaseline() const OVERRIDE;
    7474    virtual RenderMathMLOperator* unembellishedOperator() OVERRIDE { return this; }
    7575
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLScripts.cpp

    r157665 r157810  
    280280
    281281    LayoutUnit baseHeight = base->logicalHeight();
    282     LayoutUnit baseBaseline = base->firstLineBoxBaseline();
     282    LayoutUnit baseBaseline = base->firstLineBaseline();
    283283    if (baseBaseline == -1)
    284284        baseBaseline = baseHeight;
     
    314314        if (RenderBox* superscript = m_kind == Sub ? 0 : subSupPair->lastChildBox()) {
    315315            LayoutUnit superscriptHeight = superscript->logicalHeight();
    316             LayoutUnit superscriptBaseline = superscript->firstLineBoxBaseline();
     316            LayoutUnit superscriptBaseline = superscript->firstLineBaseline();
    317317            if (superscriptBaseline == -1)
    318318                superscriptBaseline = superscriptHeight;
     
    324324        if (RenderBox* subscript = m_kind == Super ? 0 : subSupPair->firstChildBox()) {
    325325            LayoutUnit subscriptHeight = subscript->logicalHeight();
    326             LayoutUnit subscriptBaseline = subscript->firstLineBoxBaseline();
     326            LayoutUnit subscriptBaseline = subscript->firstLineBaseline();
    327327            if (subscriptBaseline == -1)
    328328                subscriptBaseline = subscriptHeight;
     
    356356}
    357357
    358 int RenderMathMLScripts::firstLineBoxBaseline() const
     358int RenderMathMLScripts::firstLineBaseline() const
    359359{
    360360    if (m_baseWrapper) {
    361         LayoutUnit baseline = m_baseWrapper->firstLineBoxBaseline();
     361        LayoutUnit baseline = m_baseWrapper->firstLineBaseline();
    362362        if (baseline != -1)
    363363            return baseline;
    364364    }
    365     return RenderMathMLBlock::firstLineBoxBaseline();
     365    return RenderMathMLBlock::firstLineBaseline();
    366366}
    367367
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLScripts.h

    r157515 r157810  
    103103   
    104104    virtual RenderMathMLOperator* unembellishedOperator();
    105     virtual int firstLineBoxBaseline() const OVERRIDE;
     105    virtual int firstLineBaseline() const OVERRIDE;
    106106
    107107protected:
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.cpp

    r157613 r157810  
    9292}
    9393
    94 int RenderMathMLSpace::firstLineBoxBaseline() const
     94int RenderMathMLSpace::firstLineBaseline() const
    9595{
    9696    return m_height;
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLSpace.h

    r157613 r157810  
    4646    virtual void computeIntrinsicLogicalWidths(LayoutUnit& minLogicalWidth, LayoutUnit& maxLogicalWidth) const OVERRIDE;
    4747    virtual void updateFromElement() OVERRIDE;
    48     virtual int firstLineBoxBaseline() const OVERRIDE;
     48    virtual int firstLineBaseline() const OVERRIDE;
    4949    virtual void updateLogicalWidth() OVERRIDE;
    5050    virtual void updateLogicalHeight() OVERRIDE;
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.cpp

    r157408 r157810  
    5858}
    5959
    60 int RenderMathMLUnderOver::firstLineBoxBaseline() const
     60int RenderMathMLUnderOver::firstLineBaseline() const
    6161{
    6262    RenderBox* base = firstChildBox();
    6363    if (!base)
    6464        return -1;
    65     LayoutUnit baseline = base->firstLineBoxBaseline();
     65    LayoutUnit baseline = base->firstLineBaseline();
    6666    if (baseline != -1)
    6767        baseline += base->logicalTop();
  • trunk/Source/WebCore/rendering/mathml/RenderMathMLUnderOver.h

    r157408 r157810  
    3939    virtual RenderMathMLOperator* unembellishedOperator();
    4040
    41     virtual int firstLineBoxBaseline() const OVERRIDE;
     41    virtual int firstLineBaseline() const OVERRIDE;
    4242   
    4343private:
Note: See TracChangeset for help on using the changeset viewer.