Ignore:
Timestamp:
Oct 6, 2013, 3:55:54 PM (12 years ago)
Author:
Antti Koivisto
Message:

Move paint() to RenderElement
https://bugs.webkit.org/show_bug.cgi?id=122371

Reviewed by Darin Adler.

RenderText does not paint itself (text is painted by line boxes). We can move paint() down
to RenderElement.

This also requires some type tightening elsewhere in the code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/rendering/RenderFieldset.cpp

    r156954 r157011  
    139139void RenderFieldset::paintBoxDecorations(PaintInfo& paintInfo, const LayoutPoint& paintOffset)
    140140{
    141     if (!paintInfo.shouldPaintWithinRoot(this))
     141    if (!paintInfo.shouldPaintWithinRoot(*this))
    142142        return;
    143143
Note: See TracChangeset for help on using the changeset viewer.