Index: src/debug/debug-interface.h |
diff --git a/src/debug/debug-interface.h b/src/debug/debug-interface.h |
index 387cce0662ada766f40f4099612ab11cdb9cbf23..bbd6f6ac7f1c9e037d0f9e0763e5d831dd65137b 100644 |
--- a/src/debug/debug-interface.h |
+++ b/src/debug/debug-interface.h |
@@ -218,17 +218,15 @@ class V8_EXPORT_PRIVATE Coverage { |
class V8_EXPORT_PRIVATE FunctionData { |
public: |
- // 0-based line and colum numbers. |
- Location Start() { return start_; } |
- Location End() { return end_; } |
+ int StartOffset(); |
+ int EndOffset(); |
uint32_t Count(); |
MaybeLocal<String> Name(); |
private: |
- FunctionData(i::CoverageFunction* function, Local<debug::Script> script); |
+ explicit FunctionData(i::CoverageFunction* function) |
+ : function_(function) {} |
i::CoverageFunction* function_; |
- Location start_; |
- Location end_; |
friend class v8::debug::Coverage::ScriptData; |
}; |