[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

abarth at webkit.org abarth at webkit.org
Wed Dec 22 13:30:39 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 2f03455f9996e7b3f6025ecae94a436a4ada0efc
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Sep 17 18:04:20 2010 +0000

    2010-09-17  Tony Gentilcore  <tonyg at chromium.org>
    
            Reviewed by Adam Barth.
    
            ASSERTION FAILED: m_loadEventDelayCount
            https://bugs.webkit.org/show_bug.cgi?id=45790
    
            * dom/AsyncScriptRunner.cpp:
            (WebCore::AsyncScriptRunner::timerFired): Protect document before we go running scripts.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67728 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 3940f37..da51e60 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2010-09-17  Tony Gentilcore  <tonyg at chromium.org>
+
+        Reviewed by Adam Barth.
+
+        ASSERTION FAILED: m_loadEventDelayCount
+        https://bugs.webkit.org/show_bug.cgi?id=45790
+
+        * dom/AsyncScriptRunner.cpp: 
+        (WebCore::AsyncScriptRunner::timerFired): Protect document before we go running scripts.
+
 2010-09-17  Stephen White  <senorblanco at chromium.org>
 
         Reviewed by Kenneth Russell.
diff --git a/WebCore/dom/AsyncScriptRunner.cpp b/WebCore/dom/AsyncScriptRunner.cpp
index 86251b8..a72df7c 100644
--- a/WebCore/dom/AsyncScriptRunner.cpp
+++ b/WebCore/dom/AsyncScriptRunner.cpp
@@ -78,6 +78,8 @@ void AsyncScriptRunner::timerFired(Timer<AsyncScriptRunner>* timer)
 {
     ASSERT_UNUSED(timer, timer == &m_timer);
 
+    RefPtr<Document> protect(m_document);
+    
     Vector<pair<ScriptElementData*, CachedResourceHandle<CachedScript> > > scripts;
     scripts.swap(m_scriptsToExecuteSoon);
     size_t size = scripts.size();

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list