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

Unified Diff: test/cctest/test-debug.cc

Issue 2549133002: [debug] Remove DebugInterface class (Closed)
Patch Set: Fix overall CL ;) Created 4 years 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
« src/api.cc ('K') | « src/inspector/wasm-translation.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/test-debug.cc
diff --git a/test/cctest/test-debug.cc b/test/cctest/test-debug.cc
index 63a0bf0ccb7af86610c6bae0ef44024e99162acb..1fe3c83720f7e5047d2fab49c6f8f1a7dd000397 100644
--- a/test/cctest/test-debug.cc
+++ b/test/cctest/test-debug.cc
@@ -312,8 +312,8 @@ static void ChangeBreakOnExceptionFromJS(v8::Isolate* isolate, bool caught,
// Change break on exception using the native API call.
static void ChangeBreakOnExceptionFromAPI(
- v8::Isolate* isolate, v8::DebugInterface::ExceptionBreakState state) {
- v8::DebugInterface::ChangeBreakOnException(isolate, state);
+ v8::Isolate* isolate, v8::debug::ExceptionBreakState state) {
+ v8::debug::ChangeBreakOnException(isolate, state);
}
// Prepare to step to next break location.
@@ -3818,7 +3818,7 @@ TEST(BreakOnException) {
DebugEventCounterClear();
MessageCallbackCountClear();
ChangeBreakOnExceptionFromAPI(env->GetIsolate(),
- v8::DebugInterface::NoBreakOnException);
+ v8::debug::NoBreakOnException);
caught->Call(context, env->Global(), 0, NULL).ToLocalChecked();
DebugEventCounterCheck(0, 0, 0);
CHECK(notCaught->Call(context, env->Global(), 0, NULL).IsEmpty());
@@ -3832,7 +3832,7 @@ TEST(BreakOnException) {
DebugEventCounterClear();
MessageCallbackCountClear();
ChangeBreakOnExceptionFromAPI(env->GetIsolate(),
- v8::DebugInterface::BreakOnUncaughtException);
+ v8::debug::BreakOnUncaughtException);
caught->Call(context, env->Global(), 0, NULL).ToLocalChecked();
DebugEventCounterCheck(0, 0, 0);
CHECK(notCaught->Call(context, env->Global(), 0, NULL).IsEmpty());
@@ -3846,7 +3846,7 @@ TEST(BreakOnException) {
DebugEventCounterClear();
MessageCallbackCountClear();
ChangeBreakOnExceptionFromAPI(env->GetIsolate(),
- v8::DebugInterface::BreakOnAnyException);
+ v8::debug::BreakOnAnyException);
caught->Call(context, env->Global(), 0, NULL).ToLocalChecked();
DebugEventCounterCheck(1, 0, 0);
CHECK(notCaught->Call(context, env->Global(), 0, NULL).IsEmpty());
« src/api.cc ('K') | « src/inspector/wasm-translation.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698