diff options
author | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-14 18:19:36 +0000 |
---|---|---|
committer | rsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-14 18:19:36 +0000 |
commit | 8a257ae00099157918f13cee285cdc1f93f2d93e (patch) | |
tree | 9bf3b99151b0a348ed54c97c7864fa2219a4fc08 | |
parent | 96c7409c456f063d257f7c379208cf8ee85edd55 (diff) | |
download | chromium_src-8a257ae00099157918f13cee285cdc1f93f2d93e.zip chromium_src-8a257ae00099157918f13cee285cdc1f93f2d93e.tar.gz chromium_src-8a257ae00099157918f13cee285cdc1f93f2d93e.tar.bz2 |
[Mac] Update currentWebContents_ in -[InfoBarContainerController changeWebContents:].
BUG=329699
TEST=See comment 10 in bug for steps.
Review URL: https://codereview.chromium.org/137053004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244773 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm index 9d9df42..3c8e71c 100644 --- a/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm +++ b/chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm @@ -67,6 +67,7 @@ } - (void)changeWebContents:(content::WebContents*)contents { + currentWebContents_ = contents; if (contents) { containerCocoa_->ChangeInfoBarService( InfoBarService::FromWebContents(contents)); |