| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7165254 commit d81c67b
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,8 +7,8 @@ namespace node { | |||
| 7 | 7 | namespace inspector { | |
| 8 | 8 | namespace protocol { | |
| 9 | 9 | ||
| 10 | - RuntimeAgent::RuntimeAgent(Environment* env) | ||
| 11 | - : notify_when_waiting_for_disconnect_(false), env_(env) {} | ||
| 10 | + RuntimeAgent::RuntimeAgent() | ||
| 11 | + : notify_when_waiting_for_disconnect_(false) {} | ||
| 12 | 12 | ||
| 13 | 13 | void RuntimeAgent::Wire(UberDispatcher* dispatcher) { | |
| 14 | 14 | frontend_ = std::make_unique<NodeRuntime::Frontend>(dispatcher->channel()); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ namespace protocol { | |||
| 12 | 12 | ||
| 13 | 13 | class RuntimeAgent : public NodeRuntime::Backend { | |
| 14 | 14 | public: | |
| 15 | - explicit RuntimeAgent(Environment* env); | ||
| 15 | + RuntimeAgent(); | ||
| 16 | 16 | ||
| 17 | 17 | void Wire(UberDispatcher* dispatcher); | |
| 18 | 18 | ||
@@ -23,7 +23,6 @@ class RuntimeAgent : public NodeRuntime::Backend { | |||
| 23 | 23 | private: | |
| 24 | 24 | std::shared_ptr<NodeRuntime::Frontend> frontend_; | |
| 25 | 25 | bool notify_when_waiting_for_disconnect_; | |
| 26 | - Environment* env_; | ||
| 27 | 26 | }; | |
| 28 | 27 | } // namespace protocol | |
| 29 | 28 | } // namespace inspector | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -239,7 +239,7 @@ class ChannelImpl final : public v8_inspector::V8Inspector::Channel, | |||
| 239 | 239 | tracing_agent_->Wire(node_dispatcher_.get()); | |
| 240 | 240 | worker_agent_ = std::make_unique<protocol::WorkerAgent>(worker_manager); | |
| 241 | 241 | worker_agent_->Wire(node_dispatcher_.get()); | |
| 242 | - runtime_agent_ = std::make_unique<protocol::RuntimeAgent>(env); | ||
| 242 | + runtime_agent_ = std::make_unique<protocol::RuntimeAgent>(); | ||
| 243 | 243 | runtime_agent_->Wire(node_dispatcher_.get()); | |
| 244 | 244 | } | |
| 245 | 245 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments