| Index: third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.cpp b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| index 429c13655b0cf65c691e469753ecbc0f954cd5cb..2da3c007439cb79cf7eb97685788ea258111d055 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.cpp
|
| @@ -63,6 +63,7 @@
|
| #include "core/layout/api/LayoutPartItem.h"
|
| #include "core/layout/api/LayoutViewItem.h"
|
| #include "core/layout/compositing/PaintLayerCompositor.h"
|
| +#include "core/loader/DocumentLoader.h"
|
| #include "core/loader/FrameLoadRequest.h"
|
| #include "core/loader/NavigationScheduler.h"
|
| #include "core/page/ChromeClient.h"
|
| @@ -377,7 +378,7 @@ void LocalFrame::reload(FrameLoadType loadType,
|
| ClientRedirectPolicy clientRedirectPolicy) {
|
| DCHECK(isReloadLoadType(loadType));
|
| if (clientRedirectPolicy == ClientRedirectPolicy::NotClientRedirect) {
|
| - if (!m_loader.currentItem())
|
| + if (!m_loader.documentLoader()->historyItem())
|
| return;
|
| FrameLoadRequest request =
|
| FrameLoadRequest(nullptr, m_loader.resourceRequestForReload(
|
|
|