[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
hyatt
hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:32:07 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 1894ae5ecdbe4ee69ab3ee3e8ee0e0fce9bd8d56
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Apr 2 19:30:17 2004 +0000
Fix for 3610662, rendering sometimes doesn't update in response to mouse events that change style.
The document changed list was getting messed up.
Reviewed by darin
* khtml/xml/dom_docimpl.cpp:
(DocumentImpl::updateDocumentsRendering):
* khtml/xml/dom_docimpl.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 14ba5c8..c74e99e 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,14 @@
+2004-04-02 David Hyatt <hyatt at apple.com>
+
+ Fix for 3610662, rendering sometimes doesn't update in response to mouse events that change style.
+ The document changed list was getting messed up.
+
+ Reviewed by darin
+
+ * khtml/xml/dom_docimpl.cpp:
+ (DocumentImpl::updateDocumentsRendering):
+ * khtml/xml/dom_docimpl.h:
+
=== Safari-135 ===
2004-04-01 Darin Adler <darin at apple.com>
diff --git a/WebCore/khtml/xml/dom_docimpl.cpp b/WebCore/khtml/xml/dom_docimpl.cpp
index 387252c..4259244 100644
--- a/WebCore/khtml/xml/dom_docimpl.cpp
+++ b/WebCore/khtml/xml/dom_docimpl.cpp
@@ -1093,11 +1093,9 @@ void DocumentImpl::updateDocumentsRendering()
if (!changedDocuments)
return;
- while ( !changedDocuments->isEmpty() ) {
- changedDocuments->first();
- DocumentImpl* it = changedDocuments->take();
- if (it->isDocumentChanged())
- it->updateRendering();
+ while (DocumentImpl* doc = changedDocuments->take()) {
+ doc->m_docChanged = false;
+ doc->updateRendering();
}
}
diff --git a/WebCore/khtml/xml/dom_docimpl.h b/WebCore/khtml/xml/dom_docimpl.h
index 0124b00..1f7ce9c 100644
--- a/WebCore/khtml/xml/dom_docimpl.h
+++ b/WebCore/khtml/xml/dom_docimpl.h
@@ -390,8 +390,8 @@ public:
void setCSSTarget(NodeImpl* n);
NodeImpl* getCSSTarget();
- bool isDocumentChanged() { return m_docChanged; }
- virtual void setDocumentChanged(bool);
+ void setDocumentChanged(bool);
+
void attachNodeIterator(NodeIteratorImpl *ni);
void detachNodeIterator(NodeIteratorImpl *ni);
void notifyBeforeNodeRemoval(NodeImpl *n);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list