Be a little more precise in the wording of comments for process death.
BUG=508652
TEST=no change to functionality
Review URL: https://codereview.chromium.org/1228993005
Cr-Commit-Position: refs/heads/master@{#338422}
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 501b94efb..15fa138 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -97,13 +97,16 @@
// just swapped out.
virtual void RenderViewDeleted(RenderViewHost* render_view_host) {}
- // This method is invoked when the process for the current RenderView crashes.
- // The WebContents continues to use the RenderViewHost, e.g. when the user
- // reloads the current page. When the RenderViewHost itself is deleted, the
- // RenderViewDeleted method will be invoked.
+ // This method is invoked when the process for the current main
+ // RenderFrameHost exits (usually by crashing, though possibly by other
+ // means). The WebContents continues to use the RenderFrameHost, e.g. when the
+ // user reloads the current page. When the RenderFrameHost itself is deleted,
+ // the RenderFrameDeleted method will be invoked.
//
- // Note that this is equivalent to
- // RenderProcessHostObserver::RenderProcessExited().
+ // Note that this is triggered upstream through
+ // RenderProcessHostObserver::RenderProcessExited(); for code that doesn't
+ // otherwise need to be a WebContentsObserver, that API is probably a better
+ // choice.
virtual void RenderProcessGone(base::TerminationStatus status) {}
// This method is invoked when a WebContents swaps its visible RenderViewHost