Index: content/renderer/render_frame_impl.h |
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h |
index 938c9e41e1c94dfe3f37a6130ece7a4de28f5387..5aea9e0cb6fd00ad712d104b1814b3e784ee73b8 100644 |
--- a/content/renderer/render_frame_impl.h |
+++ b/content/renderer/render_frame_impl.h |
@@ -726,7 +726,10 @@ class CONTENT_EXPORT RenderFrameImpl |
RendererCdmManager* GetCdmManager(); |
#endif |
- // Stores the WebLocalFrame we are associated with. |
+ // Stores the WebLocalFrame we are associated with. This is null from the |
+ // constructor until SetWebFrame is called, and it is null after |
+ // frameDetached is called until destruction (which is asynchronous in the |
+ // case of the main frame, but not subframes). |
blink::WebLocalFrame* frame_; |
base::WeakPtr<RenderViewImpl> render_view_; |