- Fix a regression from r17521: painting of and crash caused by tables
with collapsed borders
* rendering/RenderTable.cpp:
(WebCore::RenderTable::paint): Changed 'paintInfo' to 'info'. Prior to
r17521, 'paintInfo' was the local variable. Now 'info' is the local variable
and 'paintInfo' is the parameter, which we were accidently modifying.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17526
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-11-02 Mitz Pettel <mitz@webkit.org>
+
+ Reviewed by Adele.
+
+ - Fix a regression from r17521: painting of and crash caused by tables
+ with collapsed borders
+
+ * rendering/RenderTable.cpp:
+ (WebCore::RenderTable::paint): Changed 'paintInfo' to 'info'. Prior to
+ r17521, 'paintInfo' was the local variable. Now 'info' is the local variable
+ and 'paintInfo' is the parameter, which we were accidently modifying.
+
2006-11-01 Adele Peterson <adele@apple.com>
Reviewed by Mitz.
// Collect all the unique border styles that we want to paint in a sorted list. Once we
// have all the styles sorted, we then do individual passes, painting each style of border
// from lowest precedence to highest precedence.
- paintInfo.phase = PaintPhaseCollapsedTableBorders;
+ info.phase = PaintPhaseCollapsedTableBorders;
DeprecatedValueList<CollapsedBorderValue> borderStyles;
collectBorders(borderStyles);
DeprecatedValueListIterator<CollapsedBorderValue> it = borderStyles.begin();