Index: third_party/WebKit/Source/core/page/FrameTree.h |
diff --git a/third_party/WebKit/Source/core/page/FrameTree.h b/third_party/WebKit/Source/core/page/FrameTree.h |
index e3554e42e9de4d2ad07f4665925e852cec393a74..37493906a646304b783ede027f16b6efaf73bbdf 100644 |
--- a/third_party/WebKit/Source/core/page/FrameTree.h |
+++ b/third_party/WebKit/Source/core/page/FrameTree.h |
@@ -42,6 +42,11 @@ public: |
// |fallbackName| is used as a source of uniqueName. |
void setName(const AtomicString& name, const AtomicString& fallbackName = nullAtom); |
+ // Directly assigns both the name and uniqueName. Should only be used when |
+ // switching between LocalFrames and RemoteFrames for the same logical frame |
+ // so that the unique name stays unique. |
+ void setNameForReplacementFrame(const AtomicString& name, const AtomicString& uniqueName); |
+ |
Frame* parent() const; |
Frame* top() const; |
Frame* previousSibling() const; |