Chromium Code Reviews| Index: src/debug.cc |
| diff --git a/src/debug.cc b/src/debug.cc |
| index d8201a1894bf79e6bc064d47b9fefcc585251ba1..c473941210172c1d2b1399f227151abae5469c96 100644 |
| --- a/src/debug.cc |
| +++ b/src/debug.cc |
| @@ -836,7 +836,8 @@ bool Debug::Load() { |
| Handle<String> key = Factory::LookupAsciiSymbol("builtins"); |
| Handle<GlobalObject> global = Handle<GlobalObject>(context->global()); |
| RETURN_IF_EMPTY_HANDLE_VALUE( |
| - SetProperty(global, key, Handle<Object>(global->builtins()), NONE), |
| + SetProperty(global, key, Handle<Object>(global->builtins()), |
| + NONE, kNonStrictMode), |
| false); |
|
Martin Maly
2011/02/24 06:33:34
Debugger code, I assume we don't need strict mode
Lasse Reichstein
2011/02/24 12:37:54
I agree.
|
| // Compile the JavaScript for the debugger in the debugger context. |