Index: content/browser/frame_host/render_frame_host_impl.h |
diff --git a/content/browser/frame_host/render_frame_host_impl.h b/content/browser/frame_host/render_frame_host_impl.h |
index 35195ba830e8ee03acb27607c324e071e9b4e0cf..ad89fc255bccf8c0c278c95e787a44c395c54ca9 100644 |
--- a/content/browser/frame_host/render_frame_host_impl.h |
+++ b/content/browser/frame_host/render_frame_host_impl.h |
@@ -115,10 +115,6 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, |
// will either enter STATE_SWAPPED_OUT (if it is a main frame and there are |
// other active frames in its SiteInstance) or it will be deleted. |
Charlie Reis
2016/03/14 20:12:57
Let's update this comment, too.
(Maybe sometime w
nasko
2016/03/14 21:32:30
Yeah, I'd convert this to boolean separately.
|
STATE_PENDING_SWAP_OUT, |
- // The RFH is swapped out and stored inside a RenderFrameProxyHost, being |
- // used as a placeholder to allow cross-process communication. Only main |
- // frames can enter this state. |
- STATE_SWAPPED_OUT, |
}; |
// Helper function to determine whether the RFH state should contribute to the |
// number of active frames of a SiteInstance or not. |
@@ -362,10 +358,6 @@ class CONTENT_EXPORT RenderFrameHostImpl : public RenderFrameHost, |
// out. |
void OnSwappedOut(); |
- // Whether this RenderFrameHost has been swapped out, such that the frame is |
- // now rendered by a RenderFrameHost in a different process. |
- bool is_swapped_out() const { return rfh_state_ == STATE_SWAPPED_OUT; } |
- |
// The current state of this RFH. |
RenderFrameHostImplState rfh_state() const { return rfh_state_; } |