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

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

Issue 2671193002: [inspector] restore provisional breakpoints smarter (Closed)
Patch Set: addressed comments 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
« no previous file with comments | « src/api.cc ('k') | src/inspector/v8-debugger-agent-impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug-interface.h
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h
index 94e73c4558d2f2601b3b7927e1be40b99ce38596..0c8a1ab5443c94f9d396d287c1f0ee0271f5fcde 100644
--- a/src/debug/debug-interface.h
+++ b/src/debug/debug-interface.h
@@ -139,9 +139,8 @@ class V8_EXPORT_PRIVATE Script {
const debug::Location& end,
bool restrict_to_function,
std::vector<debug::Location>* locations) const;
-
- private:
- int GetSourcePosition(const debug::Location& location) const;
+ int GetSourceOffset(const debug::Location& location) const;
+ v8::debug::Location GetSourceLocation(int offset) const;
};
// Specialization for wasm Scripts.
« no previous file with comments | « 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