Changeset 32416 in webkit
- Timestamp:
- Apr 22, 2008 5:45:53 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r32413 r32416 1 2008-04-22 David Hyatt <hyatt@apple.com> 2 3 Fix for bug 18688, background-color stopped painting on inlines. Fix a virtual function 4 misnaming that led to the derived class not getting called properly. 5 6 Reviewed by Mark Rowe 7 8 * ChangeLog: 9 * rendering/InlineFlowBox.cpp: 10 (WebCore::InlineFlowBox::paintFillLayer): 11 * rendering/RenderObject.h: 12 (WebCore::RenderObject::paintFillLayerExtended): 13 1 14 2008-04-22 Brady Eidson <beidson@apple.com> 2 15 -
trunk/WebCore/rendering/InlineFlowBox.cpp
r32406 r32416 668 668 bool hasFillImage = img && img->canRender(object()->style()->effectiveZoom()); 669 669 if ((!hasFillImage && !object()->style()->hasBorderRadius()) || (!prevLineBox() && !nextLineBox()) || !parent()) 670 object()->paintFill Extended(paintInfo, c, fillLayer, my, mh, tx, ty, w, h, this);670 object()->paintFillLayerExtended(paintInfo, c, fillLayer, my, mh, tx, ty, w, h, this); 671 671 else { 672 672 // We have a fill image that spans multiple lines. … … 687 687 paintInfo.context->save(); 688 688 paintInfo.context->clip(IntRect(tx, ty, width(), height())); 689 object()->paintFill Extended(paintInfo, c, fillLayer, my, mh, startX, ty, totalWidth, h, this);689 object()->paintFillLayerExtended(paintInfo, c, fillLayer, my, mh, startX, ty, totalWidth, h, this); 690 690 paintInfo.context->restore(); 691 691 } -
trunk/WebCore/rendering/RenderObject.h
r32406 r32416 477 477 virtual void paintBoxDecorations(PaintInfo&, int tx, int ty) { } 478 478 virtual void paintMask(PaintInfo&, int tx, int ty) { } 479 virtual void paintFill Extended(const PaintInfo&, const Color&, const FillLayer*,480 int clipy, int cliph, int tx, int ty, int width, int height,481 InlineFlowBox* box = 0) { }479 virtual void paintFillLayerExtended(const PaintInfo&, const Color&, const FillLayer*, 480 int clipy, int cliph, int tx, int ty, int width, int height, 481 InlineFlowBox* box = 0) { } 482 482 483 483
Note: See TracChangeset
for help on using the changeset viewer.