[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.22-985-g3c00f00
ap at apple.com
ap at apple.com
Wed Mar 17 17:56:13 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit cf55e7b1215441085314726d5255161a3cf12916
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