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

Unified Diff: third_party/WebKit/Source/core/page/FrameTree.cpp

Issue 1413093007: OOPIF: Use the same uniqueName when swapping between local and remote. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert to PS2 Created 5 years, 1 month 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/core/page/FrameTree.cpp
diff --git a/third_party/WebKit/Source/core/page/FrameTree.cpp b/third_party/WebKit/Source/core/page/FrameTree.cpp
index 31889059ba15b90bda64f5729ad8858baf4e6564..723724e8053ed3edfec481232b10a8a62370b60f 100644
--- a/third_party/WebKit/Source/core/page/FrameTree.cpp
+++ b/third_party/WebKit/Source/core/page/FrameTree.cpp
@@ -72,6 +72,12 @@ void FrameTree::setName(const AtomicString& name, const AtomicString& fallbackNa
m_uniqueName = parent()->tree().uniqueChildName(name.isEmpty() ? fallbackName : name);
}
+void FrameTree::setNameForReplacementFrame(const AtomicString& name, const AtomicString& uniqueName)
+{
+ m_name = name;
+ m_uniqueName = uniqueName;
+}
+
Frame* FrameTree::parent() const
{
if (!m_thisFrame->client())

Powered by Google App Engine
This is Rietveld 408576698