Skip to content

Commit f9047cd

Browse files
Scott Yostfacebook-github-bot
authored andcommitted
Revert D5932093: [RAMBO] Final fixes
Differential Revision: D5932093 fbshipit-source-id: 8e6ac0482a4c5a9ae4549be73d316df919613c9b
1 parent 73eb6c2 commit f9047cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReactCommon/cxxreact/JSCExecutor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@ namespace facebook {
651651
void JSCExecutor::loadModule(uint32_t bundleId, uint32_t moduleId) {
652652
auto module = m_bundleRegistry->getModule(bundleId, moduleId);
653653
auto sourceUrl = String::createExpectingAscii(m_context, module.name);
654-
auto source = adoptString(std::unique_ptr<JSBigString>(new JSBigStdString(module.code)));
654+
auto source = String::createExpectingAscii(m_context, module.code);
655655
evaluateScript(m_context, source, sourceUrl);
656656
}
657657

0 commit comments

Comments
 (0)