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

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2653673006: Move loadType() to DocumentLoader (Closed)
Patch Set: Move loadType() to DocumentLoader Created 3 years, 11 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/web/FrameLoaderClientImpl.cpp
diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
index 01b2c840b68d0d8a7829104fd1e101a3efa0d882..c2c8a3e8c5afdab0cee0678f857ac12a3cdfd618 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -529,7 +529,8 @@ NavigationPolicy FrameLoaderClientImpl::decidePolicyForNavigation(
isBackForwardLoadType(toWebLocalFrameImpl(m_webFrame->parent())
->frame()
->loader()
- .loadType()) &&
+ .documentLoader()
yhirano 2017/01/25 06:30:43 This function can be called from DocumentLoader::r
Nate Chapin 2017/01/25 17:25:29 This logic is not looking at this frame's load typ
+ ->loadType()) &&
!toWebLocalFrameImpl(m_webFrame->parent())
->frame()
->document()

Powered by Google App Engine
This is Rietveld 408576698