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

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

Issue 2653673006: Move loadType() to DocumentLoader (Closed)
Patch Set: Rebase 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/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 348534142fc7bc10275475e52a6c227239b250be..f20abcf564e0fe33dc3d7ba9d89260e36cdd8d40 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1631,7 +1631,7 @@ LocalFrame* WebLocalFrameImpl::createChildFrame(
// If we're moving in the back/forward list, we might want to replace the
// content of this child frame with whatever was there at that point.
HistoryItem* childItem = nullptr;
- if (isBackForwardLoadType(frame()->loader().loadType()) &&
+ if (isBackForwardLoadType(frame()->loader().documentLoader()->loadType()) &&
!frame()->document()->loadEventFinished())
childItem = webframeChild->client()->historyItemForNewChildFrame();

Powered by Google App Engine
This is Rietveld 408576698