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

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

Issue 2807533003: [WIP2] off-main-thread loading
Patch Set: call set_is_secure_context in EmbeddedSharedWorkerStub::CreateWorkerFetchContext() 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 ad845a2f70681c24890629658b314debe516f48c..851bb295d5908d3db660beb670c3ce4c229835e3 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/ThreadableLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698