summaryrefslogtreecommitdiff
path: root/chromium/content/renderer/render_frame_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/renderer/render_frame_impl.h')
-rw-r--r--chromium/content/renderer/render_frame_impl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chromium/content/renderer/render_frame_impl.h b/chromium/content/renderer/render_frame_impl.h
index 77d49414589..706c29dd036 100644
--- a/chromium/content/renderer/render_frame_impl.h
+++ b/chromium/content/renderer/render_frame_impl.h
@@ -678,7 +678,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_;