| Index: samples/shell.cc
|
| diff --git a/samples/shell.cc b/samples/shell.cc
|
| index f8d2c84594bde007892b8bc4b657a3b343f731b4..92a473231b88769eb40b19d63a97dde57b035de1 100644
|
| --- a/samples/shell.cc
|
| +++ b/samples/shell.cc
|
| @@ -304,8 +304,7 @@ bool ExecuteString(v8::Isolate* isolate,
|
| bool report_exceptions) {
|
| v8::HandleScope handle_scope(isolate);
|
| v8::TryCatch try_catch;
|
| - v8::ScriptOrigin origin(name);
|
| - v8::Handle<v8::Script> script = v8::Script::Compile(source, &origin);
|
| + v8::Handle<v8::Script> script = v8::Script::Compile(source, name);
|
| if (script.IsEmpty()) {
|
| // Print errors that happened during compilation.
|
| if (report_exceptions)
|
|
|