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

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

Issue 2706243006: Check that PendingScript::m_streamer is always null when resource() is null (Closed)
Patch Set: Do not checkState() when dispose() -- it might be already disposed(). Created 3 years, 10 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.h
diff --git a/third_party/WebKit/Source/core/dom/PendingScript.h b/third_party/WebKit/Source/core/dom/PendingScript.h
index 6b8c0cb69c2803acd2840fe791d377a51cd3f798..1a82229fcee7ebf389cc7c099c2c214d5840658f 100644
--- a/third_party/WebKit/Source/core/dom/PendingScript.h
+++ b/third_party/WebKit/Source/core/dom/PendingScript.h
@@ -113,6 +113,8 @@ class CORE_EXPORT PendingScript final
bool isForTesting = false);
PendingScript() = delete;
+ void checkState() const;
+
// ScriptResourceClient
void notifyFinished(Resource*) override;
String debugName() const override { return "PendingScript"; }

Powered by Google App Engine
This is Rietveld 408576698