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

Unified Diff: Source/core/fetch/RawResource.cpp

Issue 100563004: Redirect HTML resource bytes directly to parser thread (Blink side CL) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@parserthread_decodermove
Patch Set: Missing include Created 7 years 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: Source/core/fetch/RawResource.cpp
diff --git a/Source/core/fetch/RawResource.cpp b/Source/core/fetch/RawResource.cpp
index c58b8440f549ef931a227a1e5aeef0f675faa898..58063caed6c1a7adf9f76a5a4545f0b318043deb 100644
--- a/Source/core/fetch/RawResource.cpp
+++ b/Source/core/fetch/RawResource.cpp
@@ -113,6 +113,13 @@ void RawResource::didDownloadData(int dataLength)
c->dataDownloaded(this, dataLength);
}
+void RawResource::didAddParserResourceMessageFilter()
+{
+ ResourceClientWalker<RawResourceClient> w(m_clients);
+ while (RawResourceClient* c = w.next())
+ c->parserResourceMessageFilterAdded(this);
+}
+
void RawResource::setDefersLoading(bool defers)
{
if (m_loader)

Powered by Google App Engine
This is Rietveld 408576698