diff options
Diffstat (limited to 'deps/v8/src/inspector/v8-debugger-script.h')
-rw-r--r-- | deps/v8/src/inspector/v8-debugger-script.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/src/inspector/v8-debugger-script.h b/deps/v8/src/inspector/v8-debugger-script.h index 38e6448f48..116b965afc 100644 --- a/deps/v8/src/inspector/v8-debugger-script.h +++ b/deps/v8/src/inspector/v8-debugger-script.h @@ -60,7 +60,7 @@ class V8DebuggerScript { const String16& sourceURL() const { return m_url; } virtual const String16& sourceMappingURL() const = 0; - virtual const String16& source() const = 0; + virtual String16 source(size_t pos, size_t len = UINT_MAX) const = 0; virtual const String16& hash() const = 0; virtual int startLine() const = 0; virtual int startColumn() const = 0; @@ -70,6 +70,7 @@ class V8DebuggerScript { virtual bool isLiveEdit() const = 0; virtual bool isModule() const = 0; virtual bool isSourceLoadedLazily() const = 0; + virtual int length() const = 0; void setSourceURL(const String16&); virtual void setSourceMappingURL(const String16&) = 0; |