diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 18:58:42 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-12-05 18:58:42 +0000 |
commit | b8fdbd943bf4c18267488296841d5f672d8786e8 (patch) | |
tree | 6507cd7789cf37dd713f6ebf159ff89fc34bff88 /chrome/browser/extensions/policy_handlers_unittest.cc | |
parent | 796b9899fcfd7c84235d2ba4a15e4c14e3fdd494 (diff) | |
download | chromium_src-b8fdbd943bf4c18267488296841d5f672d8786e8.zip chromium_src-b8fdbd943bf4c18267488296841d5f672d8786e8.tar.gz chromium_src-b8fdbd943bf4c18267488296841d5f672d8786e8.tar.bz2 |
Pass a WebContents* to infobar delegate Create() functions/constructors instead
of getting the WebContents from the InfoBarService or using web_contents(). The
former is mainly a simplification, the latter will be illegal once the infobar
refactor lands (and caused the crash in bug 325216).
This will also allow me to subsequently revert r234759 because I can just pass
in the appropriate WebContents*. (I actually could already do so today, but to
my shame didn't think of doing so.)
BUG=325216
TEST=none
R=sky@chromium.org
Review URL: https://codereview.chromium.org/105503005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@239003 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/policy_handlers_unittest.cc')
0 files changed, 0 insertions, 0 deletions