Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: JavaScriptCore/runtime/FunctionPrototype.cpp

Issue 28077: WebKit side of merge from r41149 to r41181. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/WebKit/
Patch Set: Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « JavaScriptCore/runtime/ArrayPrototype.cpp ('k') | JavaScriptCore/runtime/JSArray.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: JavaScriptCore/runtime/FunctionPrototype.cpp
===================================================================
--- JavaScriptCore/runtime/FunctionPrototype.cpp (revision 10232)
+++ JavaScriptCore/runtime/FunctionPrototype.cpp (working copy)
@@ -112,7 +112,7 @@
return throwError(exec, TypeError);
if (asObject(array)->classInfo() == &Arguments::info)
asArguments(array)->fillArgList(exec, applyArgs);
- else if (exec->interpreter()->isJSArray(array))
+ else if (isJSArray(&exec->globalData(), array))
asArray(array)->fillArgList(exec, applyArgs);
else if (asObject(array)->inherits(&JSArray::info)) {
unsigned length = asArray(array)->get(exec, exec->propertyNames().length).toUInt32(exec);
« no previous file with comments | « JavaScriptCore/runtime/ArrayPrototype.cpp ('k') | JavaScriptCore/runtime/JSArray.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698