| Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| index df7566763b1ddfeb3c30926e2d13de0c4b974e87..0aa3b608dbc37c94fe1f4360399c6de46c93f33c 100644
|
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp
|
| @@ -242,9 +242,10 @@ std::unique_ptr<SourceLocation> DocumentLoader::CopySourceLocation() const {
|
| void DocumentLoader::DispatchLinkHeaderPreloads(
|
| ViewportDescriptionWrapper* viewport,
|
| LinkLoader::MediaPreloadPolicy media_policy) {
|
| + DCHECK_GE(state_, kCommitted);
|
| LinkLoader::LoadLinksFromHeader(
|
| GetResponse().HttpHeaderField(HTTPNames::Link), GetResponse().Url(),
|
| - frame_->GetDocument(), NetworkHintsInterfaceImpl(),
|
| + *frame_, frame_->GetDocument(), NetworkHintsInterfaceImpl(),
|
| LinkLoader::kOnlyLoadResources, media_policy, viewport);
|
| }
|
|
|
|
|