Removing default parameters to functions in `JSBase.h`
Differential Revision: D4309440 fbshipit-source-id: f4f795d5736c6d6e5297e2773538df66139e9b84
This commit is contained in:
parent
46919095aa
commit
f3dbf3ea89
|
@ -334,7 +334,7 @@ void JSCExecutor::loadApplicationScript(
|
|||
int fd = open((bundlePath + UNPACKED_BYTECODE_SUFFIX).c_str(), O_RDONLY);
|
||||
folly::checkUnixError(fd, "Couldn't open compiled bundle");
|
||||
SCOPE_EXIT { close(fd); };
|
||||
sourceCode = JSCreateCompiledSourceCode(fd, jsSourceURL);
|
||||
sourceCode = JSCreateCompiledSourceCode(fd, jsSourceURL, nullptr);
|
||||
|
||||
folly::throwOnFail<std::runtime_error>(
|
||||
sourceCode != nullptr,
|
||||
|
|
Loading…
Reference in New Issue