Index: public/web/WebFrame.h |
diff --git a/public/web/WebFrame.h b/public/web/WebFrame.h |
index 0250a19423b095f1649b85f50ec182784bb24d27..6ecff547db162b7d6ae3ff57677c5d161e2c6e6d 100644 |
--- a/public/web/WebFrame.h |
+++ b/public/web/WebFrame.h |
@@ -667,6 +667,12 @@ protected: |
WebFrame(); |
virtual ~WebFrame(); |
+ // Sets the parent WITHOUT fulling adding it to the frame tree. |
+ // Used to lie to a local frame that is replacing a remote frame, |
+ // so it can properly start a navigation but wait to swap until |
+ // commit-time. |
+ void setParent(WebFrame*); |
+ |
private: |
friend class OpenedFrameTracker; |