| Index: third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| index 70d4e1f8d6dbbd3101f2c45ee84d6d2b28ba61e2..f07cc25b0229d67e22a0ba089313c8e906aee166 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebFrameTest.cpp
|
| @@ -7155,7 +7155,8 @@ class TestSameDocumentWebFrameClient
|
| : m_frameLoadTypeReloadMainResourceSeen(false) {}
|
|
|
| virtual void willSendRequest(WebLocalFrame* frame, WebURLRequest&) {
|
| - if (toWebLocalFrameImpl(frame)->frame()->loader().loadType() ==
|
| + FrameLoader& frameLoader = toWebLocalFrameImpl(frame)->frame()->loader();
|
| + if (frameLoader.provisionalDocumentLoader()->loadType() ==
|
| FrameLoadTypeReloadMainResource)
|
| m_frameLoadTypeReloadMainResourceSeen = true;
|
| }
|
|
|