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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp

Issue 2014483002: Rename OwnPtr::clear() to reset() in bindings/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
index bc4fef05fec3eb30296e4ba499cc3924809bf2cc..642cb5ceaf41d1a80a2c62552ff021c9ce4bcaf7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
@@ -541,7 +541,7 @@ void ScriptStreamer::notifyAppendData(ScriptResource* resource)
// V8 cannot stream the script.
suppressStreaming();
m_stream = 0;
- m_source.clear();
+ m_source.reset();
recordNotStreamingReasonHistogram(m_scriptType, V8CannotStream);
recordStartedStreamingHistogram(m_scriptType, 0);
return;

Powered by Google App Engine
This is Rietveld 408576698