Index: test/inspector/inspector-test.cc |
diff --git a/test/inspector/inspector-test.cc b/test/inspector/inspector-test.cc |
index d29d675cbfe6b00b6425134056381d553cde382f..817f3d6418185755dffca1a81d217736a4d73528 100644 |
--- a/test/inspector/inspector-test.cc |
+++ b/test/inspector/inspector-test.cc |
@@ -57,7 +57,6 @@ |
"native function load();" |
"native function compileAndRunWithOrigin();" |
"native function setCurrentTimeMSForTest();" |
- "native function setMemoryInfoForTest();" |
"native function schedulePauseOnNextStatement();" |
"native function cancelPauseOnNextStatement();" |
"native function reconnect();" |
@@ -108,13 +107,6 @@ |
.FromJust()) { |
return v8::FunctionTemplate::New(isolate, |
UtilsExtension::SetCurrentTimeMSForTest); |
- } else if (name->Equals(context, v8::String::NewFromUtf8( |
- isolate, "setMemoryInfoForTest", |
- v8::NewStringType::kNormal) |
- .ToLocalChecked()) |
- .FromJust()) { |
- return v8::FunctionTemplate::New(isolate, |
- UtilsExtension::SetMemoryInfoForTest); |
} else if (name->Equals(context, |
v8::String::NewFromUtf8( |
isolate, "schedulePauseOnNextStatement", |
@@ -272,15 +264,6 @@ |
} |
inspector_client_->setCurrentTimeMSForTest( |
args[0].As<v8::Number>()->Value()); |
- } |
- |
- static void SetMemoryInfoForTest( |
- const v8::FunctionCallbackInfo<v8::Value>& args) { |
- if (args.Length() != 1) { |
- fprintf(stderr, "Internal error: setMemoryInfoForTest(value)."); |
- Exit(); |
- } |
- inspector_client_->setMemoryInfoForTest(args[0]); |
} |
static void SchedulePauseOnNextStatement( |