[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
rjw
rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:22:30 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit f57d1fdb0d21f32738e1fa3b9a42060c1cdf1edf
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Fri Jan 16 18:59:26 2004 +0000
Fixed 3531229. Another place that needs the Push/PopLocalFrame
protection implemented for 3530401.
Reviewed by John.
* bindings/runtime_method.cpp:
(RuntimeMethodImp::call):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5918 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/ChangeLog b/JavaScriptCore/ChangeLog
index 6974e08..163f633 100644
--- a/JavaScriptCore/ChangeLog
+++ b/JavaScriptCore/ChangeLog
@@ -1,3 +1,13 @@
+2004-01-16 Richard Williamson <rjw at apple.com>
+
+ Fixed 3531229. Another place that needs the Push/PopLocalFrame
+ protection implemented for 3530401.
+
+ Reviewed by John.
+
+ * bindings/runtime_method.cpp:
+ (RuntimeMethodImp::call):
+
2004-01-15 Richard Williamson <rjw at apple.com>
Fixed 3530401. JNI doesn't cleanup local refs created on the
diff --git a/JavaScriptCore/bindings/runtime_method.cpp b/JavaScriptCore/bindings/runtime_method.cpp
index 6a16dca..e4f9163 100644
--- a/JavaScriptCore/bindings/runtime_method.cpp
+++ b/JavaScriptCore/bindings/runtime_method.cpp
@@ -72,7 +72,15 @@ Value RuntimeMethodImp::call(ExecState *exec, Object &thisObj, const List &args)
if (method) {
RuntimeObjectImp *imp = static_cast<RuntimeObjectImp*>(thisObj.imp());
if (imp) {
- return imp->getInternalInstance()->invokeMethod(exec, method, args);
+ Instance *instance = imp->getInternalInstance();
+
+ instance->begin();
+
+ Value aValue = instance->invokeMethod(exec, method, args);
+
+ instance->end();
+
+ return aValue;
}
}
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list