Chromium Code Reviews| Index: src/api.cc |
| =================================================================== |
| --- src/api.cc (revision 2670) |
| +++ src/api.cc (working copy) |
| @@ -1046,7 +1046,7 @@ |
| ScriptData* ScriptData::PreCompile(const char* input, int length) { |
| unibrow::Utf8InputBuffer<> buf(input, length); |
| - return i::PreParse(&buf, NULL); |
| + return i::PreParse(i::Handle<i::String>(), &buf, NULL); |
|
Kasper Lund
2009/08/18 06:49:41
i::Handle<i::String>::null() to make it more expli
Feng Qian
2009/08/18 07:14:10
Ah, didn't know this trick, but it is a bit confus
|
| } |