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

Unified Diff: src/debug/debug-interface.h

Issue 2671193002: [inspector] restore provisional breakpoints smarter (Closed)
Patch Set: offset based approach Created 3 years, 10 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: src/debug/debug-interface.h
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
index be8ed902d505503a288701b71c2b4281d4aef9a6..f8e900721ae8c4d77d5afde96b6989e75415a476 100644
--- a/src/debug/debug-interface.h
+++ b/src/debug/debug-interface.h
@@ -138,9 +138,8 @@ class V8_EXPORT_PRIVATE Script {
bool GetPossibleBreakpoints(const debug::Location& start,
const debug::Location& end,
std::vector<debug::Location>* locations) const;
-
- private:
- int GetSourcePosition(const debug::Location& location) const;
+ int Offset(const debug::Location& location) const;
+ v8::debug::Location Position(int offset) const;
};
// Specialization for wasm Scripts.
« src/api.cc ('K') | « src/api.cc ('k') | src/inspector/v8-debugger-agent-impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698