[separated out from bug #26198] RenderTable::addChild has a few superfluous 'if' statements (the same condition is queried at the start of the block already)
Created attachment 30981 [details] patch - remove superfluous 'if's
Comment on attachment 30981 [details] patch - remove superfluous 'if's Would still be preferred to add ASSERTs here and fix the extra { } while where here.
Comment on attachment 30981 [details] patch - remove superfluous 'if's Looks good. The ASSERT() doens't really buy us much. So much else would break if we changed away from RenderTableSection anyway.
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/rendering/RenderTable.cpp Committed r44450