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

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

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: rebase Created 3 years, 7 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 263f3db17995dbdda619a87e16babba73b8faa43..da13352d4866f310e144a633998fe0bcf240b50a 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -353,7 +353,7 @@ bool PingLoaderImpl::WillFollowRedirect(
void PingLoaderImpl::DidReceiveResponse(const WebURLResponse& response) {
if (GetFrame()) {
const ResourceResponse& resource_response = response.ToResourceResponse();
- probe::didReceiveResourceResponse(GetFrame(), identifier_, 0,
+ probe::didReceiveResourceResponse(GetFrame()->GetDocument(), identifier_, 0,
resource_response, 0);
DidFailLoading(GetFrame());
}
@@ -391,7 +391,7 @@ void PingLoaderImpl::Timeout(TimerBase*) {
}
void PingLoaderImpl::DidFailLoading(LocalFrame* frame) {
- probe::didFailLoading(frame, identifier_,
+ probe::didFailLoading(frame->GetDocument(), identifier_,
ResourceError::CancelledError(url_));
frame->Console().DidFailLoading(identifier_,
ResourceError::CancelledError(url_));
« no previous file with comments | « third_party/WebKit/Source/core/loader/FrameLoader.cpp ('k') | third_party/WebKit/Source/core/loader/WorkerFetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698