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

Unified Diff: runtime/vm/object_test.cc

Issue 1978603002: Remove DebuggerEvent. Refactor remaining code. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: before landing Created 4 years, 7 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 | « runtime/vm/isolate.cc ('k') | runtime/vm/parser_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object_test.cc
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc
index 6c0d3b9b0be88dc85705e6b0aa148d912a33a74c..6f37cb2fe99cbc92bcec039a0bf57678080f30a8 100644
--- a/runtime/vm/object_test.cc
+++ b/runtime/vm/object_test.cc
@@ -4079,10 +4079,8 @@ TEST_CASE(FunctionWithBreakpointNotInlined) {
EXPECT(func_b.CanBeInlined());
// After setting a breakpoint in a function A.b, it is no longer inlineable.
- Breakpoint* bpt =
- Isolate::Current()->debugger()->SetBreakpointAtLine(name,
- kBreakpointLine);
- ASSERT(bpt != NULL);
+ result = Dart_SetBreakpoint(NewString(TestCase::url()), kBreakpointLine);
+ EXPECT_VALID(result);
EXPECT(!func_b.CanBeInlined());
}
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/parser_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698