Chromium Code Reviews| Index: third_party/WebKit/Source/core/loader/FrameLoader.cpp |
| diff --git a/third_party/WebKit/Source/core/loader/FrameLoader.cpp b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
| index e6d04948a281bcf8e469487c123563ddc1aa6fdb..450202509e5f41bf43f6699548a4a22c7a222d3d 100644 |
| --- a/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
| +++ b/third_party/WebKit/Source/core/loader/FrameLoader.cpp |
| @@ -460,12 +460,7 @@ void FrameLoader::didBeginDocument(bool dispatch) |
| for (auto& message : messages) |
| m_frame->document()->addConsoleMessage(ConsoleMessage::create(SecurityMessageSource, ErrorMessageLevel, "Error with Suborigin header: " + message)); |
| } |
| - } |
| - |
| - if (m_documentLoader) { |
|
sof
2016/03/18 20:03:42
Why isn't this null check needed any longer?
sof
2016/03/18 20:40:30
please ignore; failed to see the null check furthe
|
| m_frame->document()->clientHintsPreferences().updateFrom(m_documentLoader->clientHintsPreferences()); |
| - LinkLoader::loadLinksFromHeader(m_documentLoader->response().httpHeaderField(HTTPNames::Link), m_documentLoader->response().url(), |
| - m_frame->document(), NetworkHintsInterfaceImpl(), LinkLoader::OnlyLoadResources); |
| } |
| Settings* settings = m_frame->document()->settings(); |