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

Unified Diff: Source/bindings/core/v8/ScriptStreamer.h

Issue 656113002: Refactor Script(Loader|Runner): don't access Resources all over the place... (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: code review (haraken) Created 6 years, 2 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
« no previous file with comments | « no previous file | Source/core/dom/PendingScript.cpp » ('j') | Source/core/dom/ScriptLoader.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/ScriptStreamer.h
diff --git a/Source/bindings/core/v8/ScriptStreamer.h b/Source/bindings/core/v8/ScriptStreamer.h
index 78fa1cbc7e2a387bc835345646d88e676ebe6160..5dea593eb1ebede3051c3bf762e39a2f50496cdd 100644
--- a/Source/bindings/core/v8/ScriptStreamer.h
+++ b/Source/bindings/core/v8/ScriptStreamer.h
@@ -66,8 +66,8 @@ public:
void addClient(ScriptResourceClient* client)
{
ASSERT(!m_client);
- ASSERT(!isFinished());
m_client = client;
+ notifyFinishedToClient();
}
void removeClient(ScriptResourceClient* client)
« no previous file with comments | « no previous file | Source/core/dom/PendingScript.cpp » ('j') | Source/core/dom/ScriptLoader.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698