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

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

Issue 2701753003: [WIP] off-main-thread loading
Patch Set: small fix Created 3 years, 8 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/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index 01744876dd14b1d5f77e5b62281bab1862fc4e3a..2d63539da3f69dc9a13b4a1a4c5330b1352f62bd 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -346,7 +346,7 @@ bool PingLoaderImpl::willFollowRedirect(
void PingLoaderImpl::didReceiveResponse(const WebURLResponse& response) {
if (frame()) {
const ResourceResponse& resourceResponse = response.toResourceResponse();
- probe::didReceiveResourceResponse(frame(), m_identifier, 0,
+ probe::didReceiveResourceResponse(frame()->document(), m_identifier, 0,
resourceResponse, 0);
didFailLoading(frame());
}
@@ -382,7 +382,7 @@ void PingLoaderImpl::timeout(TimerBase*) {
}
void PingLoaderImpl::didFailLoading(LocalFrame* frame) {
- probe::didFailLoading(frame, m_identifier,
+ probe::didFailLoading(frame->document(), m_identifier,
ResourceError::cancelledError(m_url));
frame->console().didFailLoading(m_identifier,
ResourceError::cancelledError(m_url));
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/loader/ThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698