Ignore:
Timestamp:
Oct 5, 2013, 4:58:30 AM (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/RenderReplaced.cpp

    r156876 r156952  
    130130        return;
    131131   
    132     if (!paintInfo.shouldPaintWithinRoot(this))
     132    if (!paintInfo.shouldPaintWithinRoot(*this))
    133133        return;
    134134   
     
    177177        return false;
    178178
    179     if (!paintInfo.shouldPaintWithinRoot(this))
     179    if (!paintInfo.shouldPaintWithinRoot(*this))
    180180        return false;
    181181       
Note: See TracChangeset for help on using the changeset viewer.