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

zherczeg at webkit.org zherczeg at webkit.org
Wed Dec 22 18:22:26 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 996d724284f9fcd9fd5ac2d3172cca9a1f051af5
Author: zherczeg at webkit.org <zherczeg at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Dec 10 10:20:07 2010 +0000

    2010-12-10  Zoltan Herczeg  <zherczeg at webkit.org>
    
            Reviewed by Eric Seidel.
    
            [Qt] Fix crashes in debug mode
            https://bugs.webkit.org/show_bug.cgi?id=49976
    
            The m_methods hashmap of QtInstance contains InternalFunctions
            whose depend on the current RuntimeObject. When we recreate the
            RuntimeObject, we should also reset this hashmap.
    
            * bridge/qt/qt_instance.cpp:
            (JSC::Bindings::QtInstance::newRuntimeObject):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73699 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 645f78c..aa54779 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,17 @@
+2010-12-10  Zoltan Herczeg  <zherczeg at webkit.org>
+
+        Reviewed by Eric Seidel.
+
+        [Qt] Fix crashes in debug mode
+        https://bugs.webkit.org/show_bug.cgi?id=49976
+
+        The m_methods hashmap of QtInstance contains InternalFunctions
+        whose depend on the current RuntimeObject. When we recreate the
+        RuntimeObject, we should also reset this hashmap.
+
+        * bridge/qt/qt_instance.cpp:
+        (JSC::Bindings::QtInstance::newRuntimeObject):
+
 2010-12-10  François Sausset  <sausset at gmail.com>
 
         Reviewed by Eric Seidel.
diff --git a/WebCore/bridge/qt/qt_instance.cpp b/WebCore/bridge/qt/qt_instance.cpp
index c2e2dce..78263e9 100644
--- a/WebCore/bridge/qt/qt_instance.cpp
+++ b/WebCore/bridge/qt/qt_instance.cpp
@@ -181,6 +181,7 @@ Class* QtInstance::getClass() const
 RuntimeObject* QtInstance::newRuntimeObject(ExecState* exec)
 {
     JSLock lock(SilenceAssertionsOnly);
+    m_methods.clear();
     return new (exec) QtRuntimeObject(exec, exec->lexicalGlobalObject(), this);
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list