Delete dead code
Summary: It was made dead by the previous revisions Reviewed By: amnn Differential Revision: D13313263 fbshipit-source-id: b8c8402b5427dc5d3efbbd2ee871aebf1e14ee0d
This commit is contained in:
Родитель
99c370959a
Коммит
424d4458d7
|
@ -21,25 +21,6 @@ using namespace facebook::jsi;
|
||||||
namespace facebook {
|
namespace facebook {
|
||||||
namespace react {
|
namespace react {
|
||||||
|
|
||||||
JSIExecutorFactory::JSIExecutorFactory(
|
|
||||||
std::shared_ptr<jsi::Runtime> runtime,
|
|
||||||
JSIExecutor::Logger logger,
|
|
||||||
JSIExecutor::RuntimeInstaller runtimeInstaller)
|
|
||||||
: runtime_(runtime),
|
|
||||||
logger_(logger),
|
|
||||||
runtimeInstaller_(runtimeInstaller) {}
|
|
||||||
|
|
||||||
std::unique_ptr<JSExecutor> JSIExecutorFactory::createJSExecutor(
|
|
||||||
std::shared_ptr<ExecutorDelegate> delegate,
|
|
||||||
std::shared_ptr<MessageQueueThread>) {
|
|
||||||
return std::make_unique<JSIExecutor>(
|
|
||||||
runtime_,
|
|
||||||
delegate,
|
|
||||||
logger_,
|
|
||||||
JSIExecutor::defaultTimeoutInvoker,
|
|
||||||
runtimeInstaller_);
|
|
||||||
}
|
|
||||||
|
|
||||||
class JSIExecutor::NativeModuleProxy : public jsi::HostObject {
|
class JSIExecutor::NativeModuleProxy : public jsi::HostObject {
|
||||||
public:
|
public:
|
||||||
NativeModuleProxy(JSIExecutor& executor) : executor_(executor) {}
|
NativeModuleProxy(JSIExecutor& executor) : executor_(executor) {}
|
||||||
|
|
|
@ -131,22 +131,5 @@ class JSIExecutor : public JSExecutor {
|
||||||
folly::Optional<jsi::Function> callFunctionReturnResultAndFlushedQueue_;
|
folly::Optional<jsi::Function> callFunctionReturnResultAndFlushedQueue_;
|
||||||
};
|
};
|
||||||
|
|
||||||
class JSIExecutorFactory : public JSExecutorFactory {
|
|
||||||
public:
|
|
||||||
explicit JSIExecutorFactory(
|
|
||||||
std::shared_ptr<jsi::Runtime> runtime,
|
|
||||||
JSIExecutor::Logger logger,
|
|
||||||
JSIExecutor::RuntimeInstaller);
|
|
||||||
|
|
||||||
std::unique_ptr<JSExecutor> createJSExecutor(
|
|
||||||
std::shared_ptr<ExecutorDelegate> delegate,
|
|
||||||
std::shared_ptr<MessageQueueThread> jsQueue) override;
|
|
||||||
|
|
||||||
private:
|
|
||||||
std::shared_ptr<jsi::Runtime> runtime_;
|
|
||||||
JSIExecutor::Logger logger_;
|
|
||||||
JSIExecutor::RuntimeInstaller runtimeInstaller_;
|
|
||||||
};
|
|
||||||
|
|
||||||
} // namespace react
|
} // namespace react
|
||||||
} // namespace facebook
|
} // namespace facebook
|
||||||
|
|
Загрузка…
Ссылка в новой задаче