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

Unified Diff: Source/core/html/HTMLFrameElementBase.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/HTMLFrameElementBase.cpp
diff --git a/Source/core/html/HTMLFrameElementBase.cpp b/Source/core/html/HTMLFrameElementBase.cpp
index c37f911833778e8e143314420f6762c0a9e63a7c..a12c3d0a40fd2fde0df2713c1bb3c85fc588db23 100644
--- a/Source/core/html/HTMLFrameElementBase.cpp
+++ b/Source/core/html/HTMLFrameElementBase.cpp
@@ -70,7 +70,7 @@ bool HTMLFrameElementBase::isURLAllowed() const
return true;
}
-void HTMLFrameElementBase::openURL(bool lockBackForwardList)
+void HTMLFrameElementBase::openURL(bool replaceCurrentItem)
{
if (!isURLAllowed())
return;
@@ -90,7 +90,7 @@ void HTMLFrameElementBase::openURL(bool lockBackForwardList)
url = blankURL();
}
- if (!loadOrRedirectSubframe(url, m_frameName, lockBackForwardList))
+ if (!loadOrRedirectSubframe(url, m_frameName, replaceCurrentItem))
return;
if (!contentFrame() || scriptURL.isEmpty() || !contentFrame()->isLocalFrame())
return;

Powered by Google App Engine
This is Rietveld 408576698