From e208fa48c7ecf3f28f3e0379d0545c2405592f6e Mon Sep 17 00:00:00 2001 From: lfg Date: Fri, 17 Apr 2015 13:29:18 -0700 Subject: [PATCH] Fix comment about refcounting of the RenderViewImpl. This was incorrectly changed in https://crrev.com/98193. Review URL: https://codereview.chromium.org/1091303002 Cr-Commit-Position: refs/heads/master@{#325700} --- content/renderer/render_view_impl.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc index 9e0c4207e800..66d2c0d45daa 100644 --- a/content/renderer/render_view_impl.cc +++ b/content/renderer/render_view_impl.cc @@ -708,7 +708,8 @@ void RenderViewImpl::Initialize(const ViewMsg_New_Params& params, RenderThread::Get()->AddRoute(routing_id_, this); // Take a reference on behalf of the RenderThread. This will be balanced - // when we receive ViewMsg_ClosePage. + // when we receive ViewMsg_Close in the RenderWidget (which RenderView + // inherits from). AddRef(); if (RenderThreadImpl::current()) { RenderThreadImpl::current()->WidgetCreated(); -- 2.11.4.GIT