Chromium Code Reviews| Index: src/mirror-debugger.js |
| diff --git a/src/mirror-debugger.js b/src/mirror-debugger.js |
| index 0a32597fabb66b011b27f443a621d9cf507f1604..8646957542de29ffb0e0b1d5cc674f1684622d98 100644 |
| --- a/src/mirror-debugger.js |
| +++ b/src/mirror-debugger.js |
| @@ -1605,7 +1605,7 @@ FrameMirror.prototype.invocationText = function() { |
| // Try to find the function as a property in the receiver. Include the |
| // prototype chain in the lookup. |
| var property = GetUndefinedMirror(); |
| - if (!receiver.isUndefined()) { |
| + if (receiver.isObject()) { |
| for (var r = receiver; !r.isNull() && property.isUndefined(); r = r.protoObject()) { |
|
Vitaly Repeshko
2011/07/18 13:04:50
nit: While we're here let's fix the long line.
Mads Ager (chromium)
2011/07/18 14:27:07
Done.
|
| property = r.lookupProperty(func); |
| } |