| Index: chrome/browser/chromeos/login/ui/web_contents_set_background_color.cc
|
| diff --git a/chrome/browser/chromeos/login/ui/web_contents_set_background_color.cc b/chrome/browser/chromeos/login/ui/web_contents_set_background_color.cc
|
| index ba44ca0075181c5b60d179822b55cbc198eee520..6b57011eaf5994e51d5a9ab21976585f6e072fe4 100644
|
| --- a/chrome/browser/chromeos/login/ui/web_contents_set_background_color.cc
|
| +++ b/chrome/browser/chromeos/login/ui/web_contents_set_background_color.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "chrome/browser/chromeos/login/ui/web_contents_set_background_color.h"
|
|
|
| +#include "base/memory/ptr_util.h"
|
| #include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/render_widget_host.h"
|
| #include "content/public/browser/render_widget_host_view.h"
|
| @@ -23,7 +24,8 @@ void WebContentsSetBackgroundColor::CreateForWebContentsWithColor(
|
| // WebContentsSetBackgroundColor instance and will destroy it when the
|
| // WebContents instance is destroyed.
|
| web_contents->SetUserData(
|
| - UserDataKey(), new WebContentsSetBackgroundColor(web_contents, color));
|
| + UserDataKey(),
|
| + base::WrapUnique(new WebContentsSetBackgroundColor(web_contents, color)));
|
| }
|
|
|
| WebContentsSetBackgroundColor::WebContentsSetBackgroundColor(
|
|
|