diff --git a/ReactCommon/jschelpers/InspectorInterfaces.h b/ReactCommon/jschelpers/InspectorInterfaces.h index abf92bf37..8c8767b8e 100644 --- a/ReactCommon/jschelpers/InspectorInterfaces.h +++ b/ReactCommon/jschelpers/InspectorInterfaces.h @@ -14,8 +14,6 @@ #include #include -#include - namespace facebook { namespace react { @@ -46,8 +44,8 @@ public: // Note: not destructible! class IInspector { public: - virtual void registerGlobalContext(const std::string& title, const std::function &checkIsInspectedRemote, JSGlobalContextRef ctx) = 0; - virtual void unregisterGlobalContext(JSGlobalContextRef ctx) = 0; + virtual void registerGlobalContext(const std::string& title, const std::function &checkIsInspectedRemote, void* ctx) = 0; + virtual void unregisterGlobalContext(void* ctx) = 0; virtual std::vector getPages() const = 0; virtual std::unique_ptr connect(int pageId, std::unique_ptr remote) = 0;