Commit d9aff4f4 authored by Johann's avatar Johann Committed by Commit Bot

reword RenderWidget comment

The comment said "In the first two cases [main frame and child frame],
the RenderFrame is not the root" and "For child frames, the root is
RenderFrame". It should have said "In the first two cases
the Render*Widget* is not the root"

Change-Id: I65e25da21326feb90b8a7b33d1f6da089aff0845
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2359322Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Reviewed-by: default avatarKen Buchanan <kenrb@chromium.org>
Reviewed-by: default avatarErik Chen <erikchen@chromium.org>
Commit-Queue: Ken Buchanan <kenrb@chromium.org>
Auto-Submit: Johann Koenig <johannkoenig@google.com>
Cr-Commit-Position: refs/heads/master@{#799274}
parent 94129cd5
......@@ -125,16 +125,13 @@ class WebCursor;
//
// RenderWidget represents a surface that can paint and receive input. It is
// used in four contexts:
// * Main frame for webpage
// * Child frame for webpage
// * Popups
// * Pepper Fullscreen
// * Main frame for webpage (root is RenderView)
// * Child frame for webpage (root is RenderFrame)
// * Popups (root is RenderWidget)
// * Pepper Fullscreen (root is RenderWidget)
//
// In the first two cases, the RenderFrame is not the root of the renderer
// object graph. For the main frame, the root is the RenderView. For child
// frames, the root is RenderFrame. As such, for the first two cases,
// destruction of the RenderWidgetHost will not trigger destruction of the
// RenderWidget.
// Destruction of the RenderWidgetHost will trigger destruction of the
// RenderWidget iff RenderWidget is the root of the renderer object graph.
//
// Note: We want to converge on RenderFrame always being the root.
class CONTENT_EXPORT RenderWidgetHostImpl
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment