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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2519893002: Stop dispatching encoded-data-length on each data chunk arrival (Closed)
Patch Set: fix Created 4 years, 1 month 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/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index a08a69ef16814229f7f969dbe6c60dd8f1f07518..907aace97305e5fff25ae87efda86a6c292a234f 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -386,7 +386,7 @@ void PingLoaderImpl::timeout(TimerBase*) {
void PingLoaderImpl::didFailLoading(LocalFrame* frame) {
InspectorInstrumentation::didFailLoading(
- frame, m_identifier, ResourceError::cancelledError(m_url));
+ frame, m_identifier, ResourceError::cancelledError(m_url), -1);
frame->console().didFailLoading(m_identifier,
ResourceError::cancelledError(m_url));
}

Powered by Google App Engine
This is Rietveld 408576698