Index: third_party/WebKit/Source/web/OpenedFrameTracker.h |
diff --git a/third_party/WebKit/Source/web/OpenedFrameTracker.h b/third_party/WebKit/Source/web/OpenedFrameTracker.h |
index 1b5bbb6dc1504382e61c8ee10682f7a03d57d31e..79beaa2c291331c96217ecd5d8eb5f353cb11eb5 100644 |
--- a/third_party/WebKit/Source/web/OpenedFrameTracker.h |
+++ b/third_party/WebKit/Source/web/OpenedFrameTracker.h |
@@ -27,8 +27,9 @@ public: |
void add(WebFrame*); |
void remove(WebFrame*); |
- // Updates the opener for all tracked frames. |
- void updateOpener(WebFrame*); |
+ // Helper used when swapping a frame into the frame tree: this updates the |
+ // opener for opened frames to point to the new frame being swapped in. |
+ void transferTo(WebFrame*); |
void traceFrames(Visitor*); |
void traceFrames(InlinedGlobalMarkingVisitor); |