Index: content/renderer/render_frame_proxy.h |
diff --git a/content/renderer/render_frame_proxy.h b/content/renderer/render_frame_proxy.h |
index 65352cf5fb3421c0db236ad279a7a0501f8e5a88..19a94f682064e763dbe53d4b84ac1374b08e08b9 100644 |
--- a/content/renderer/render_frame_proxy.h |
+++ b/content/renderer/render_frame_proxy.h |
@@ -100,6 +100,12 @@ class CONTENT_EXPORT RenderFrameProxy |
// RenderFrameProxy's WebRemoteFrame. |
void SetReplicatedState(const FrameReplicationState& state); |
+ // Navigating a top-level frame cross-process does not swap the WebLocalFrame |
+ // for a WebRemoteFrame in the frame tree. In this case, this WebRemoteFrame |
+ // is not attached to the frame tree and there is no blink::Frame associated |
+ // with it, so it is not in state where most operations on it will succeed. |
+ bool IsMainFrameDetachedFromTree() const; |
+ |
int routing_id() { return routing_id_; } |
RenderViewImpl* render_view() { return render_view_; } |
blink::WebRemoteFrame* web_frame() { return web_frame_; } |
@@ -126,12 +132,6 @@ class CONTENT_EXPORT RenderFrameProxy |
void Init(blink::WebRemoteFrame* frame, RenderViewImpl* render_view); |
- // Navigating a top-level frame cross-process does not swap the WebLocalFrame |
- // for a WebRemoteFrame in the frame tree. In this case, this WebRemoteFrame |
- // is not attached to the frame tree and there is no blink::Frame associated |
- // with it, so it is not in state where most operations on it will succeed. |
- bool IsMainFrameDetachedFromTree() const; |
- |
// IPC::Listener |
bool OnMessageReceived(const IPC::Message& msg) override; |