summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/front-end/Callback.js
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/front-end/Callback.js')
-rw-r--r--WebCore/inspector/front-end/Callback.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/WebCore/inspector/front-end/Callback.js b/WebCore/inspector/front-end/Callback.js
index d8163fe..0621fd1 100644
--- a/WebCore/inspector/front-end/Callback.js
+++ b/WebCore/inspector/front-end/Callback.js
@@ -42,9 +42,8 @@ WebInspector.Callback.prototype = {
return callbackId;
},
- processResponse: function(callbackId, opt_vararg)
+ processResponse: function(callbackId, args)
{
- var args = Array.prototype.slice.call(arguments, 1);
var callback = this._callbacks[callbackId];
callback.apply(null, args);
delete this._callbacks[callbackId];