| Index: chrome/browser/chromeos/login/ui/web_contents_forced_title.cc
|
| diff --git a/chrome/browser/chromeos/login/ui/web_contents_forced_title.cc b/chrome/browser/chromeos/login/ui/web_contents_forced_title.cc
|
| index 51dbef23ced0f28d1a4bcf1fb3b137c56eacc433..a29383ef452eb1d8cfe83df0790a0ddbb14dcb30 100644
|
| --- a/chrome/browser/chromeos/login/ui/web_contents_forced_title.cc
|
| +++ b/chrome/browser/chromeos/login/ui/web_contents_forced_title.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/chromeos/login/ui/web_contents_forced_title.h"
|
|
|
| +#include "base/memory/ptr_util.h"
|
| #include "content/public/browser/navigation_entry.h"
|
| #include "content/public/browser/web_contents.h"
|
|
|
| @@ -19,8 +20,9 @@ void WebContentsForcedTitle::CreateForWebContentsWithTitle(
|
| return;
|
|
|
| web_contents->UpdateTitleForEntry(nullptr, title);
|
| - web_contents->SetUserData(UserDataKey(),
|
| - new WebContentsForcedTitle(web_contents, title));
|
| + web_contents->SetUserData(
|
| + UserDataKey(),
|
| + base::WrapUnique(new WebContentsForcedTitle(web_contents, title)));
|
| }
|
|
|
| WebContentsForcedTitle::WebContentsForcedTitle(
|
|
|