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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h

Issue 2568103002: Revert of Eagerly dispose of ScheduledActions. (Closed)
Patch Set: Created 4 years 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: 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 15651270c95ff59303a05ce9f61fdc261ef9c611..3af0431128cc1dd3d013cea05c296ef0f0e8618f 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptSourceCode.h
@@ -56,7 +56,6 @@
ScriptSourceCode(ScriptStreamer*, ScriptResource*);
~ScriptSourceCode();
- void dispose();
DECLARE_TRACE();
bool isEmpty() const { return m_source.isEmpty(); }
@@ -66,13 +65,13 @@
bool isNull() const { return m_source.isNull(); }
const String& source() const { return m_source; }
- ScriptResource* resource() const { return m_resource; }
+ ScriptResource* resource() const { return m_resource.get(); }
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; }
+ ScriptStreamer* streamer() const { return m_streamer.get(); }
private:
void treatNullSourceAsEmpty();

Powered by Google App Engine
This is Rietveld 408576698