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

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

Issue 1878943003: Remove RawPtr from bindings/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 a41ebe3c3097e633d6540f4a1b9c25633b6c8562..bdd6199a5dda366cd18205a8d2bd27823dfbea75 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
@@ -565,10 +565,6 @@ void ScriptStreamer::notifyFinished(Resource* resource)
m_stream->didFinishLoading();
m_loadingFinished = true;
- // Calling notifyFinishedToClient can result into the upper layers dropping
- // references to ScriptStreamer. Keep it alive until this function ends.
- RawPtr<ScriptStreamer> protect(this);
-
notifyFinishedToClient();
}

Powered by Google App Engine
This is Rietveld 408576698