Changeset 76276 in webkit
- Timestamp:
- Jan 20, 2011 1:34:34 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r76275 r76276 1 2011-01-20 James Robinson <jamesr@chromium.org> 2 3 Reviewed by Eric Seidel. 4 5 RenderTableSection's setNeedsCellRecalc needs to null check table() 6 https://bugs.webkit.org/show_bug.cgi?id=52770 7 8 Tests ::-webkit-scrollbar-corner inside a table. 9 10 * fast/css-generated-content/table-with-scrollbar-corner-expected.txt: Added. 11 * fast/css-generated-content/table-with-scrollbar-corner.html: Added. 12 1 13 2011-01-20 Michael Saboff <msaboff@apple.com> 2 14 -
trunk/Source/WebCore/ChangeLog
r76274 r76276 1 2011-01-20 James Robinson <jamesr@chromium.org> 2 3 Reviewed by Eric "Baller" Seidel. 4 5 RenderTableSection's setNeedsCellRecalc needs to null check table() 6 https://bugs.webkit.org/show_bug.cgi?id=52770 7 8 Null checks table() before deferencing it in RenderTableSection::setNeedsCellRecalc. 9 This can be null during detach(). Test constructed by Eric Seidel. 10 11 Test: fast/css-generated-content/table-with-scrollbar-corner.html 12 13 * rendering/RenderTableSection.cpp: 14 (WebCore::RenderTableSection::setNeedsCellRecalc): 15 * rendering/RenderTableSection.h: 16 1 17 2011-01-20 Dirk Schulze <krit@webkit.org> 2 18 -
trunk/Source/WebCore/rendering/RenderTableSection.cpp
r75837 r76276 1084 1084 } 1085 1085 1086 void RenderTableSection::setNeedsCellRecalc() 1087 { 1088 m_needsCellRecalc = true; 1089 if (RenderTable* t = table()) 1090 t->setNeedsSectionRecalc(); 1091 } 1092 1086 1093 void RenderTableSection::clearGrid() 1087 1094 { -
trunk/Source/WebCore/rendering/RenderTableSection.h
r73385 r76276 115 115 116 116 bool needsCellRecalc() const { return m_needsCellRecalc; } 117 void setNeedsCellRecalc() 118 { 119 m_needsCellRecalc = true; 120 table()->setNeedsSectionRecalc(); 121 } 117 void setNeedsCellRecalc(); 122 118 123 119 int getBaseline(int row) { return m_grid[row].baseline; }
Note: See TracChangeset
for help on using the changeset viewer.