Index: content/public/test/test_renderer_host.h |
diff --git a/content/public/test/test_renderer_host.h b/content/public/test/test_renderer_host.h |
index fae14cea14b76b4aaf6e30d4746f4da8f678e5a7..062c642be91930d4e5305cd31cd56ff6a4da8380 100644 |
--- a/content/public/test/test_renderer_host.h |
+++ b/content/public/test/test_renderer_host.h |
@@ -79,6 +79,9 @@ class RenderFrameHostTester { |
// RenderFrameHost is owned by the parent RenderFrameHost. |
virtual RenderFrameHost* AppendChild(const std::string& frame_name) = 0; |
+ // Gives tests access to RenderFrameHostImpl::OnDetach. Destroys |this|. |
+ virtual void Detach() = 0; |
+ |
// Simulates a renderer-initiated navigation to |url| starting in the |
// RenderFrameHost. |
virtual void SimulateNavigationStart(const GURL& url) = 0; |