diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 21:55:06 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-30 21:55:06 +0000 |
commit | 91e6a43cc44c53e169c29420af27c81045c75a89 (patch) | |
tree | 48f75ae7008b63c2f51317f92129f45a2b7af2a4 /content | |
parent | 45a596f4ffda69eaff1ca7580913fdc1bc0f56a0 (diff) | |
download | chromium_src-91e6a43cc44c53e169c29420af27c81045c75a89.zip chromium_src-91e6a43cc44c53e169c29420af27c81045c75a89.tar.gz chromium_src-91e6a43cc44c53e169c29420af27c81045c75a89.tar.bz2 |
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
Diffstat (limited to 'content')
-rw-r--r-- | content/browser/tab_contents/tab_contents.cc | 4 |
1 files changed, 0 insertions, 4 deletions
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); } |