Commit 9756cff4 authored by rwlbuis's avatar rwlbuis

Reviewed by rwlbuis.

        - add missing null check in new fixed table layout code



git-svn-id: svn://svn.chromium.org/blink/trunk@18802 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent f79ce404
2007-01-12 Mitz Pettel <mitz@webkit.org>
Reviewed by rwlbuis.
- add missing null check in new fixed table layout code
* rendering/FixedTableLayout.cpp:
(WebCore::FixedTableLayout::calcWidthArray):
2007-01-12 Lars Knoll <lars@trolltech.com> 2007-01-12 Lars Knoll <lars@trolltech.com>
Fix the Qt build after the Authenitcation changes. Fix the Qt build after the Authenitcation changes.
......
...@@ -143,7 +143,7 @@ int FixedTableLayout::calcWidthArray(int tableWidth) ...@@ -143,7 +143,7 @@ int FixedTableLayout::calcWidthArray(int tableWidth)
section = m_table->firstBody(); section = m_table->firstBody();
if (!section) if (!section)
section = m_table->footer(); section = m_table->footer();
if (!section->numRows()) if (section && !section->numRows())
section = m_table->sectionBelow(section, true); section = m_table->sectionBelow(section, true);
if (section) { if (section) {
cCol = 0; cCol = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment