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

Unified Diff: third_party/WebKit/Source/core/dom/PendingScript.cpp

Issue 1569823004: Clear integrity failure bit in PendingScript on release (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 4 years, 11 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/core/dom/PendingScript.cpp
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.cpp b/third_party/WebKit/Source/core/dom/PendingScript.cpp
index 2a688e29d5377eeedb4d3d90b741f82fd73d7473..ba3e8a5bbcfd28a4ae5cca10beb104b6a014111c 100644
--- a/third_party/WebKit/Source/core/dom/PendingScript.cpp
+++ b/third_party/WebKit/Source/core/dom/PendingScript.cpp
@@ -117,6 +117,7 @@ PassRefPtrWillBeRawPtr<Element> PendingScript::releaseElementAndClear()
setScriptResource(0);
m_watchingForLoad = false;
m_startingPosition = TextPosition::belowRangePosition();
+ m_integrityFailure = false;
if (m_streamer)
m_streamer->cancel();
m_streamer.release();

Powered by Google App Engine
This is Rietveld 408576698