Reviewed by Kevin McCulough.
Global replace of "assert(" with "ASSERT(" to assist debugging. Removed
one instance of commented-out code containing "assert(" instead of replacing it.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/html/HTMLTableElement.cpp b/WebCore/html/HTMLTableElement.cpp
index c84c9fc..e0d4bf5 100644
--- a/WebCore/html/HTMLTableElement.cpp
+++ b/WebCore/html/HTMLTableElement.cpp
@@ -295,7 +295,7 @@
// The creation of <tbody> elements relies on the "childAllowed" check,
// so we need to do it even for XML documents.
- assert(child->nodeType() != DOCUMENT_FRAGMENT_NODE);
+ ASSERT(child->nodeType() != DOCUMENT_FRAGMENT_NODE);
if (!document()->isHTMLDocument() && !childAllowed(child.get()))
return 0;
@@ -607,7 +607,7 @@
void HTMLTableElement::attach()
{
- assert(!m_attached);
+ ASSERT(!m_attached);
HTMLElement::attach();
if (renderer() && renderer()->isTable())
static_cast<RenderTable*>(renderer())->setCellPadding(m_padding);