Index: src/liveedit.cc |
diff --git a/src/liveedit.cc b/src/liveedit.cc |
index afa0e131994d21073fbf014148aa541bdc46b585..982ac109be1867758a3b19e30a6e543f261615d7 100644 |
--- a/src/liveedit.cc |
+++ b/src/liveedit.cc |
@@ -1220,7 +1220,7 @@ |
Handle<SharedFunctionInfo> shared_info = |
UnwrapSharedFunctionInfoFromJSValue(function_wrapper); |
CHECK(script_handle->IsScript() || script_handle->IsUndefined()); |
- SharedFunctionInfo::SetScript(shared_info, script_handle); |
+ shared_info->set_script(*script_handle); |
shared_info->DisableOptimization(kLiveEdit); |
function_wrapper->GetIsolate()->compilation_cache()->Remove(shared_info); |