Index: third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h |
index 3af0431128cc1dd3d013cea05c296ef0f0e8618f..15651270c95ff59303a05ce9f61fdc261ef9c611 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h |
@@ -56,6 +56,7 @@ class CORE_EXPORT ScriptSourceCode final { |
ScriptSourceCode(ScriptStreamer*, ScriptResource*); |
~ScriptSourceCode(); |
+ void dispose(); |
DECLARE_TRACE(); |
bool isEmpty() const { return m_source.isEmpty(); } |
@@ -65,13 +66,13 @@ class CORE_EXPORT ScriptSourceCode final { |
bool isNull() const { return m_source.isNull(); } |
const String& source() const { return m_source; } |
- ScriptResource* resource() const { return m_resource.get(); } |
+ ScriptResource* resource() const { return m_resource; } |
const KURL& url() const; |
int startLine() const { return m_startPosition.m_line.oneBasedInt(); } |
const TextPosition& startPosition() const { return m_startPosition; } |
String sourceMapUrl() const; |
- ScriptStreamer* streamer() const { return m_streamer.get(); } |
+ ScriptStreamer* streamer() const { return m_streamer; } |
private: |
void treatNullSourceAsEmpty(); |