From f0712ba2a5c5ed0087bd89ce18ffae0bc5b628d7 Mon Sep 17 00:00:00 2001 From: darin Date: Thu, 19 May 2005 18:32:27 +0000 Subject: [PATCH] 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! git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9181 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- WebCore/ChangeLog-2005-08-23 | 11 ++++++++++- WebCore/kwq/DOM.mm | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23 index 4f4761779e58..6ffea33ed1a8 100644 --- a/WebCore/ChangeLog-2005-08-23 +++ b/WebCore/ChangeLog-2005-08-23 @@ -1,4 +1,13 @@ -2005-05-16 Darin Adler +2005-05-19 Darin Adler + + 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 Reviewed by Maciej. No new layout tests required. diff --git a/WebCore/kwq/DOM.mm b/WebCore/kwq/DOM.mm index 645e433d9926..24b25f5f042d 100644 --- a/WebCore/kwq/DOM.mm +++ b/WebCore/kwq/DOM.mm @@ -2219,7 +2219,7 @@ short ObjCNodeFilterCondition::acceptNode(FilterNode n) const - (DOMTreeWalker *)createTreeWalker:(DOMNode *)root :(unsigned long)whatToShow :(id )filter :(BOOL)expandEntityReferences { - NodeFilterImpl *cppFilter; + NodeFilterImpl *cppFilter = 0; if (filter) { cppFilter = new NodeFilterImpl(new ObjCNodeFilterCondition(filter)); cppFilter->ref(); -- 2.36.0