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

Unified Diff: Source/core/html/HTMLFrameOwnerElement.cpp

Issue 1232223002: Rename LockBackForwardList to ReplaceCurrentItem. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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: Source/core/html/HTMLFrameOwnerElement.cpp
diff --git a/Source/core/html/HTMLFrameOwnerElement.cpp b/Source/core/html/HTMLFrameOwnerElement.cpp
index fd4e0c14543cc1cc8908b7192cd181ef65428e3a..1833cc61cb2a899e2bb4319a450b82f0a8fdb14b 100644
--- a/Source/core/html/HTMLFrameOwnerElement.cpp
+++ b/Source/core/html/HTMLFrameOwnerElement.cpp
@@ -242,11 +242,11 @@ Widget* HTMLFrameOwnerElement::ownedWidget() const
return m_widget.get();
}
-bool HTMLFrameOwnerElement::loadOrRedirectSubframe(const KURL& url, const AtomicString& frameName, bool lockBackForwardList)
+bool HTMLFrameOwnerElement::loadOrRedirectSubframe(const KURL& url, const AtomicString& frameName, bool replaceCurrentItem)
{
RefPtrWillBeRawPtr<LocalFrame> parentFrame = document().frame();
if (contentFrame()) {
- contentFrame()->navigate(document(), url, lockBackForwardList, UserGestureStatus::None);
+ contentFrame()->navigate(document(), url, replaceCurrentItem, UserGestureStatus::None);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698