[SCM] WebKit Debian packaging branch, webkit-1.2, updated. upstream/1.1.90-6072-g9a69373

ap at apple.com ap at apple.com
Thu Apr 8 01:55:46 UTC 2010


The following commit has been merged in the webkit-1.2 branch:
commit 0515c255269b324ba70d6675cc2990945b0a2f94
Author: ap at apple.com <ap at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Feb 22 22:25:41 2010 +0000

            Undo a small part of the previous commit.
    
            * bridge/runtime_method.cpp: (JSC::callRuntimeMethod): Let's keep the instance local
            variable as RefPtr for safety.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55105 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index f3e7e0c..0085445 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,5 +1,12 @@
 2010-02-22  Alexey Proskuryakov  <ap at apple.com>
 
+        Undo a small part of the previous commit.
+
+        * bridge/runtime_method.cpp: (JSC::callRuntimeMethod): Let's keep the instance local
+        variable as RefPtr for safety.
+
+2010-02-22  Alexey Proskuryakov  <ap at apple.com>
+
         Reviewed by Darin Adler.
 
         https://bugs.webkit.org/show_bug.cgi?id=35260
diff --git a/WebCore/bridge/runtime_method.cpp b/WebCore/bridge/runtime_method.cpp
index f10a64f..f5b7eac 100644
--- a/WebCore/bridge/runtime_method.cpp
+++ b/WebCore/bridge/runtime_method.cpp
@@ -94,7 +94,7 @@ static JSValue JSC_HOST_CALL callRuntimeMethod(ExecState* exec, JSObject* functi
     if (method->methods()->isEmpty())
         return jsUndefined();
 
-    Instance* instance = 0;
+    RefPtr<Instance> instance;
 
     if (thisValue.inherits(&RuntimeObjectImp::s_info)) {
         RuntimeObjectImp* imp = static_cast<RuntimeObjectImp*>(asObject(thisValue));

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list