| Index: chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc
|
| diff --git a/chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc b/chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc
|
| index dc296f1574d22d4afec82ab106e0d626b23654a4..d625c3430698a0868546d24325e9c9654089ddda 100644
|
| --- a/chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc
|
| +++ b/chrome/browser/safe_browsing/safe_browsing_navigation_observer.cc
|
| @@ -79,10 +79,9 @@ void SafeBrowsingNavigationObserver::MaybeCreateForWebContents(
|
| Profile::FromBrowserContext(web_contents->GetBrowserContext()))) {
|
| web_contents->SetUserData(
|
| kWebContentsUserDataKey,
|
| - new SafeBrowsingNavigationObserver(
|
| - web_contents,
|
| - g_browser_process->safe_browsing_service()
|
| - ->navigation_observer_manager()));
|
| + base::MakeUnique<SafeBrowsingNavigationObserver>(
|
| + web_contents, g_browser_process->safe_browsing_service()
|
| + ->navigation_observer_manager()));
|
| }
|
| }
|
|
|
|
|