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 0833397b02e759f532735a86b4cb54b6db9f5880..06819ee62daf28f09217d4b287560f01285a4196 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; |