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

Unified Diff: third_party/WebKit/Source/web/WebLocalFrameImpl.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/WebLocalFrameImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
index 0ab358f06eb7dcc20666cde8805407294848fb93..44dd497319f77446f30cc7803e0c31a986752c2e 100644
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp
@@ -1609,7 +1609,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