Reviewed by Chris Petersen.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 May 2005 18:32:27 +0000 (18:32 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 May 2005 18:32:27 +0000 (18:32 +0000)
        - fixed a mistake I introduced in my previous check-in that caused a Deployment build failure

        * kwq/DOM.mm: (-[DOMDocument createTreeWalker::::]): Initialize cppFilter to 0, which fixes both
        the build failure and a potential bug!

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

WebCore/ChangeLog-2005-08-23
WebCore/kwq/DOM.mm

index 4f4761779e58b7f043157ce13a20433024f59f1f..6ffea33ed1a89eff9a6911810735aae7feff0954 100644 (file)
@@ -1,4 +1,13 @@
-2005-05-16  Darin Adler  <darin@apple.com>
+2005-05-19  Darin Adler  <darin@apple.com>
+
+        Reviewed by Chris Petersen.
+
+        - fixed a mistake I introduced in my previous check-in that caused a Deployment build failure
+
+        * kwq/DOM.mm: (-[DOMDocument createTreeWalker::::]): Initialize cppFilter to 0, which fixes both
+        the build failure and a potential bug!
+
+2005-05-17  Darin Adler  <darin@apple.com>
 
         Reviewed by Maciej.
         No new layout tests required.
index 645e433d9926364b6b57c9c9746a217c0f54e50c..24b25f5f042df29a442610e6f79b3e33f2222ed9 100644 (file)
@@ -2219,7 +2219,7 @@ short ObjCNodeFilterCondition::acceptNode(FilterNode n) const
 
 - (DOMTreeWalker *)createTreeWalker:(DOMNode *)root :(unsigned long)whatToShow :(id <DOMNodeFilter>)filter :(BOOL)expandEntityReferences
 {
-    NodeFilterImpl *cppFilter;
+    NodeFilterImpl *cppFilter = 0;
     if (filter) {
         cppFilter = new NodeFilterImpl(new ObjCNodeFilterCondition(filter));
         cppFilter->ref();