diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 18:45:11 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 18:45:11 +0000 |
commit | 9f507a9013c9392d1dcafa972f03e8371e73a286 (patch) | |
tree | e0779256869cc2f42d40590a24ce515757dc2269 /chrome/test/automation/proxy_launcher.cc | |
parent | c5c1d6d69421fc1bd52efb0b1c5a6f646d1724c3 (diff) | |
download | chromium_src-9f507a9013c9392d1dcafa972f03e8371e73a286.zip chromium_src-9f507a9013c9392d1dcafa972f03e8371e73a286.tar.gz chromium_src-9f507a9013c9392d1dcafa972f03e8371e73a286.tar.bz2 |
Keep a pointer to the owning TabContents on InfoBarDelegates, clearing it when they're no longer owned, so that if they wish to close themselves they can do so safely.
This is a temporary fix for bug 89915 to replace http://codereview.chromium.org/7466019/ , which is IMO the slightly better fix, and is how I'll be fixing this bug in the future when the ownership model of infobars changes.
This also cleans up the names of a few other RemoveInfoBar() functions so there aren't so many different functions named the same thing.
BUG=89915
TEST=none
Review URL: http://codereview.chromium.org/7471047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94515 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/automation/proxy_launcher.cc')
0 files changed, 0 insertions, 0 deletions