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

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: 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
Index: runtime/vm/object_test.cc
diff --git a/runtime/vm/object_test.cc b/runtime/vm/object_test.cc
index 7d9be08654a2c2a9afe51ec9d2009e8a67c13eb8..7048ac82827ec26f20ba8eb63531f83ff4081903 100644
--- a/runtime/vm/object_test.cc
+++ b/runtime/vm/object_test.cc
@@ -4084,10 +4084,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());
}

Powered by Google App Engine
This is Rietveld 408576698