Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(844)

Unified Diff: src/api.cc

Issue 2162503002: [debugger] remove deprecated api functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/v8-debug.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index ba260492a17e8ab140c92fd7486ff9064b8a93f1..64aea2dccdc014e516e3ed003ad35829846a102a 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -8219,12 +8219,6 @@ bool Debug::SetDebugEventListener(Isolate* isolate, EventCallback that,
}
-bool Debug::SetDebugEventListener(EventCallback that, Local<Value> data) {
- return SetDebugEventListener(
- reinterpret_cast<Isolate*>(i::Isolate::Current()), that, data);
-}
-
-
void Debug::DebugBreak(Isolate* isolate) {
reinterpret_cast<i::Isolate*>(isolate)->stack_guard()->RequestDebugBreak();
}
@@ -8250,11 +8244,6 @@ void Debug::SetMessageHandler(Isolate* isolate,
}
-void Debug::SetMessageHandler(v8::Debug::MessageHandler handler) {
- SetMessageHandler(reinterpret_cast<Isolate*>(i::Isolate::Current()), handler);
-}
-
-
void Debug::SendCommand(Isolate* isolate,
const uint16_t* command,
int length,
@@ -8284,13 +8273,6 @@ MaybeLocal<Value> Debug::Call(Local<Context> context,
}
-Local<Value> Debug::Call(v8::Local<v8::Function> fun,
- v8::Local<v8::Value> data) {
- auto context = ContextFromHeapObject(Utils::OpenHandle(*fun));
- RETURN_TO_LOCAL_UNCHECKED(Call(context, fun, data), Value);
-}
-
-
MaybeLocal<Value> Debug::GetMirror(Local<Context> context,
v8::Local<v8::Value> obj) {
PREPARE_FOR_EXECUTION(context, Debug, GetMirror, Value);
@@ -8312,21 +8294,11 @@ MaybeLocal<Value> Debug::GetMirror(Local<Context> context,
}
-Local<Value> Debug::GetMirror(v8::Local<v8::Value> obj) {
- RETURN_TO_LOCAL_UNCHECKED(GetMirror(Local<Context>(), obj), Value);
-}
-
-
void Debug::ProcessDebugMessages(Isolate* isolate) {
reinterpret_cast<i::Isolate*>(isolate)->debug()->ProcessDebugMessages(true);
}
-void Debug::ProcessDebugMessages() {
- ProcessDebugMessages(reinterpret_cast<Isolate*>(i::Isolate::Current()));
-}
-
-
Local<Context> Debug::GetDebugContext(Isolate* isolate) {
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
ENTER_V8(i_isolate);
@@ -8334,10 +8306,6 @@ Local<Context> Debug::GetDebugContext(Isolate* isolate) {
}
-Local<Context> Debug::GetDebugContext() {
- return GetDebugContext(reinterpret_cast<Isolate*>(i::Isolate::Current()));
-}
-
MaybeLocal<Context> Debug::GetDebuggedContext(Isolate* isolate) {
i::Isolate* i_isolate = reinterpret_cast<i::Isolate*>(isolate);
ENTER_V8(i_isolate);
« no previous file with comments | « include/v8-debug.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698