Changeset 88189 in webkit
- Timestamp:
- Jun 6, 2011 2:30:42 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r88188 r88189 1 2011-06-06 Emil A Eklund <eae@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 Convert RenderBox::popContentsClip to IntPoint 6 https://bugs.webkit.org/show_bug.cgi?id=62132 7 8 Covered by existing tests. 9 10 * rendering/RenderBlock.cpp: 11 (WebCore::RenderBlock::paint): 12 * rendering/RenderBox.cpp: 13 (WebCore::RenderBox::popContentsClip): 14 * rendering/RenderBox.h: 15 * rendering/RenderTable.cpp: 16 (WebCore::RenderTable::paint): 17 * rendering/RenderTableSection.cpp: 18 (WebCore::RenderTableSection::paint): 19 1 20 2011-06-06 Levi Weintraub <leviw@chromium.org> 2 21 -
trunk/Source/WebCore/rendering/RenderBlock.cpp
r88176 r88189 2261 2261 paintObject(paintInfo, IntPoint(tx, ty)); 2262 2262 if (pushedClip) 2263 popContentsClip(paintInfo, phase, tx, ty);2263 popContentsClip(paintInfo, phase, IntPoint(tx, ty)); 2264 2264 2265 2265 // Our scrollbar widgets paint exactly when we tell them to, so that they work properly with -
trunk/Source/WebCore/rendering/RenderBox.cpp
r88183 r88189 1123 1123 } 1124 1124 1125 void RenderBox::popContentsClip(PaintInfo& paintInfo, PaintPhase originalPhase, int tx, int ty)1125 void RenderBox::popContentsClip(PaintInfo& paintInfo, PaintPhase originalPhase, const IntPoint& accumulatedOffset) 1126 1126 { 1127 1127 ASSERT(hasControlClip() || (hasOverflowClip() && !layer()->isSelfPaintingLayer())); … … 1130 1130 if (originalPhase == PaintPhaseOutline) { 1131 1131 paintInfo.phase = PaintPhaseSelfOutline; 1132 paintObject(paintInfo, IntPoint(tx, ty));1132 paintObject(paintInfo, accumulatedOffset); 1133 1133 paintInfo.phase = originalPhase; 1134 1134 } else if (originalPhase == PaintPhaseChildBlockBackground) -
trunk/Source/WebCore/rendering/RenderBox.h
r88183 r88189 351 351 virtual IntRect controlClipRect(const IntPoint&) const { return IntRect(); } 352 352 bool pushContentsClip(PaintInfo&, int tx, int ty); 353 void popContentsClip(PaintInfo&, PaintPhase originalPhase, int tx, int ty);353 void popContentsClip(PaintInfo&, PaintPhase originalPhase, const IntPoint& accumulatedOffset); 354 354 355 355 virtual void paintObject(PaintInfo&, const IntPoint&) { ASSERT_NOT_REACHED(); } -
trunk/Source/WebCore/rendering/RenderTable.cpp
r88102 r88189 471 471 paintObject(paintInfo, IntPoint(tx, ty)); 472 472 if (pushedClip) 473 popContentsClip(paintInfo, paintPhase, tx, ty);473 popContentsClip(paintInfo, paintPhase, IntPoint(tx, ty)); 474 474 } 475 475 -
trunk/Source/WebCore/rendering/RenderTableSection.cpp
r88102 r88189 907 907 paintObject(paintInfo, IntPoint(tx, ty)); 908 908 if (pushedClip) 909 popContentsClip(paintInfo, phase, tx, ty);909 popContentsClip(paintInfo, phase, IntPoint(tx, ty)); 910 910 } 911 911
Note: See TracChangeset
for help on using the changeset viewer.