Not reviewed, build fix.
authormjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 May 2010 00:25:44 +0000 (00:25 +0000)
committermjs@apple.com <mjs@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 May 2010 00:25:44 +0000 (00:25 +0000)
Fix an assert that I failed to update in my earlier change.

* dom/CharacterData.h:
(WebCore::CharacterData::CharacterData):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58923 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/dom/CharacterData.h

index 48c99bd2837c591f8b6dc5eaca9581d1bea14ebf..fbe5272502e23ee9e048c68c6787a605bd81a04d 100644 (file)
@@ -1,3 +1,12 @@
+2010-05-06  Maciej Stachowiak  <mjs@apple.com>
+
+        Not reviewed, build fix.
+
+        Fix an assert that I failed to update in my earlier change.
+
+        * dom/CharacterData.h:
+        (WebCore::CharacterData::CharacterData):
+
 2010-05-06  Alexey Proskuryakov  <ap@apple.com>
 
         Reviewed by Geoff Garen.
index 94951408ca01249dfbf90fc2a81830e1a5fe7449..5ca4b7558ab071603ebe7f00e698ae1b2cbe801f 100644 (file)
@@ -47,7 +47,7 @@ protected:
         : Node(document, type)
         , m_data(text.impl() ? text.impl() : StringImpl::empty())
     {
-        ASSERT(type == CreateOther || type == CreateText);
+        ASSERT(type == CreateComment || type == CreateText);
     }
 
     virtual bool rendererIsNeeded(RenderStyle*);