diff options
author | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-30 21:02:13 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-30 21:02:13 +0000 |
commit | 7db906a777435745029c597fd86f2799245f640f (patch) | |
tree | 2304cb9be6bc5ed8d36f3b844595eeccfe4c5cd1 | |
parent | a32bd2113f84e91c5d9d06aae77fae0c2e0dcc9b (diff) | |
download | chromium_src-7db906a777435745029c597fd86f2799245f640f.zip chromium_src-7db906a777435745029c597fd86f2799245f640f.tar.gz chromium_src-7db906a777435745029c597fd86f2799245f640f.tar.bz2 |
Fix potential NULL pointer error in HtmlDialogView::InitDialog.
BUG=37275
TEST=None
Checked in for jaysoffian@gmail.com
Original review: http://codereview.chromium.org/661439
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43137 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/views/html_dialog_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/html_dialog_view.cc b/chrome/browser/views/html_dialog_view.cc index 67b2852..ccf1423 100644 --- a/chrome/browser/views/html_dialog_view.cc +++ b/chrome/browser/views/html_dialog_view.cc @@ -179,5 +179,5 @@ void HtmlDialogView::InitDialog() { // Pressing the ESC key will close the dialog. AddAccelerator(views::Accelerator(base::VKEY_ESCAPE, false, false, false)); - DOMView::LoadURL(delegate_->GetDialogContentURL()); + DOMView::LoadURL(GetDialogContentURL()); } |