| Index: chrome/browser/infobars/infobar_tab_helper.cc
|
| diff --git a/chrome/browser/infobars/infobar_tab_helper.cc b/chrome/browser/infobars/infobar_tab_helper.cc
|
| index f0ce1acdc3cf9e046a79a890c1bf1d60a07d2eaf..bcbd72101735be60ac820d7b31af069beeffdb92 100644
|
| --- a/chrome/browser/infobars/infobar_tab_helper.cc
|
| +++ b/chrome/browser/infobars/infobar_tab_helper.cc
|
| @@ -219,7 +219,7 @@ void InfoBarTabHelper::Observe(int type,
|
| // ourselves lest other parts of the system attempt to add infobars or use
|
| // us otherwise during the destruction.
|
| DCHECK_EQ(web_contents(), content::Source<WebContents>(source).ptr());
|
| - web_contents()->RemoveUserData(&kLocatorKey);
|
| + web_contents()->RemoveUserData(UserDataKey());
|
| // That was the equivalent of "delete this". This object is now destroyed;
|
| // returning from this function is the only safe thing to do.
|
| return;
|
|
|