Index: test/inspector/inspector-impl.cc |
diff --git a/test/inspector/inspector-impl.cc b/test/inspector/inspector-impl.cc |
index ddf1b131279589a1ce4c3789d30418393c4d2db2..67e3718a7b809ffa31d5aeb4d59591891a293cbc 100644 |
--- a/test/inspector/inspector-impl.cc |
+++ b/test/inspector/inspector-impl.cc |
@@ -174,10 +174,8 @@ |
sessions_[context_group_id] = |
inspector_->connect(context_group_id, channel_.get(), state); |
context->SetAlignedPointerInEmbedderData(kInspectorClientIndex, this); |
- v8_inspector::V8ContextInfo info(context, context_group_id, |
- v8_inspector::StringView()); |
- info.hasMemoryOnConsole = true; |
- inspector_->contextCreated(info); |
+ inspector_->contextCreated(v8_inspector::V8ContextInfo( |
+ context, context_group_id, v8_inspector::StringView())); |
} else { |
for (const auto& it : states_) { |
int context_group_id = it.first; |
@@ -187,10 +185,8 @@ |
sessions_[context_group_id] = |
inspector_->connect(context_group_id, channel_.get(), state); |
context->SetAlignedPointerInEmbedderData(kInspectorClientIndex, this); |
- v8_inspector::V8ContextInfo info(context, context_group_id, |
- v8_inspector::StringView()); |
- info.hasMemoryOnConsole = true; |
- inspector_->contextCreated(info); |
+ inspector_->contextCreated(v8_inspector::V8ContextInfo( |
+ context, context_group_id, v8_inspector::StringView())); |
} |
} |
states_.clear(); |
@@ -258,17 +254,6 @@ |
double InspectorClientImpl::currentTimeMS() { |
if (current_time_set_for_test_) return current_time_; |
return v8::base::OS::TimeCurrentMillis(); |
-} |
- |
-void InspectorClientImpl::setMemoryInfoForTest( |
- v8::Local<v8::Value> memory_info) { |
- memory_info_.Reset(isolate_, memory_info); |
-} |
- |
-v8::MaybeLocal<v8::Value> InspectorClientImpl::memoryInfo( |
- v8::Isolate* isolate, v8::Local<v8::Context>) { |
- if (memory_info_.IsEmpty()) return v8::MaybeLocal<v8::Value>(); |
- return memory_info_.Get(isolate); |
} |
void InspectorClientImpl::runMessageLoopOnPause(int) { |