2008-04-03  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam.

        <rdar://problem/5832603> REGRESSION: Adding an image to the header image well causes Journal page to incorrectly draw

        * dom/Document.cpp:
        (WebCore::Document::childrenChanged):
        Make sure to chain up to ContainerNode::childrenChanged.


git-svn-id: http://svn.webkit.org/repository/webkit/branches/Safari-3-1-branch@31616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index a0193a2..626b654 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2008-04-03  Anders Carlsson  <andersca@apple.com>
+
+        Reviewed by Sam.
+
+        <rdar://problem/5832603> REGRESSION: Adding an image to the header image well causes Journal page to incorrectly draw
+        
+        * dom/Document.cpp:
+        (WebCore::Document::childrenChanged):
+        Make sure to chain up to ContainerNode::childrenChanged.
+
 2008-04-03  Mark Rowe  <mrowe@apple.com>
 
         Merge r31320 to Safari-3-1-branch.
diff --git a/WebCore/dom/Document.cpp b/WebCore/dom/Document.cpp
index 71b9eb3..bcc0a55 100644
--- a/WebCore/dom/Document.cpp
+++ b/WebCore/dom/Document.cpp
@@ -485,6 +485,8 @@
 
 void Document::childrenChanged(bool changedByParser)
 {
+    ContainerNode::childrenChanged(changedByParser);
+    
     // invalidate the document element we have cached in case it was replaced
     m_documentElement = 0;
 }