From 91e6a43cc44c53e169c29420af27c81045c75a89 Mon Sep 17 00:00:00 2001 From: "jam@chromium.org" Date: Mon, 30 Jan 2012 21:55:06 +0000 Subject: Remove code that I missed in r119703. Review URL: https://chromiumcodereview.appspot.com/9104017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119741 0039d316-1c4b-4281-b951-d872f2087c98 --- content/browser/tab_contents/tab_contents.cc | 4 ---- 1 file changed, 4 deletions(-) (limited to 'content') diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc index 3d952f9..78b8024 100644 --- a/content/browser/tab_contents/tab_contents.cc +++ b/content/browser/tab_contents/tab_contents.cc @@ -2280,10 +2280,6 @@ void TabContents::OnDialogClosed(RenderViewHost* rvh, tab_close_start_time_ = base::TimeTicks(); } is_showing_before_unload_dialog_ = false; - // The reply must be sent to the RVH that sent the request. - // TODO(creis): Eliminate cases where we pass in null. - if (!rvh) - rvh = GetRenderViewHost(); rvh->JavaScriptDialogClosed(reply_msg, success, user_input); } -- cgit v1.1