From a3752c6c6305219d5d60e210b036e8ac6b5afc2b Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Thu, 13 Sep 2018 22:56:13 -0700 Subject: [PATCH] Fabric: Removed leftovers from RCTScheduler Summary: Trivial. We use `EventBeatFactory`s instead. Reviewed By: mdvacca Differential Revision: D9799856 fbshipit-source-id: 67a130161026565ecc948427ffa658837d9bbfc2 --- React/Fabric/RCTScheduler.mm | 3 --- 1 file changed, 3 deletions(-) diff --git a/React/Fabric/RCTScheduler.mm b/React/Fabric/RCTScheduler.mm index 039e360ba..d7e81c425 100644 --- a/React/Fabric/RCTScheduler.mm +++ b/React/Fabric/RCTScheduler.mm @@ -69,9 +69,6 @@ private: contextContainer->registerInstance(synchronousBeatFactory, "synchronous"); contextContainer->registerInstance(asynchronousBeatFactory, "asynchronous"); - contextContainer->registerInstance>(std::make_shared(), "synchronous"); - contextContainer->registerInstance>(std::make_shared(bridge.jsMessageThread), "asynchronous"); - void *imageLoader = (__bridge void *)[[RCTBridge currentBridge] imageLoader]; contextContainer->registerInstance(std::make_shared(imageLoader));