| Index: chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc
|
| diff --git a/chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc b/chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc
|
| index fc31bc0b37a3c297514c5d71667ffe1aab354a65..c149d8c56566ad33e083884a56639272645a41e3 100644
|
| --- a/chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc
|
| +++ b/chrome/browser/ui/autofill/save_card_bubble_controller_impl_unittest.cc
|
| @@ -9,6 +9,7 @@
|
|
|
| #include "base/json/json_reader.h"
|
| #include "base/macros.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "base/test/histogram_tester.h"
|
| #include "base/values.h"
|
| @@ -33,7 +34,8 @@ class TestSaveCardBubbleControllerImpl : public SaveCardBubbleControllerImpl {
|
| public:
|
| static void CreateForTesting(content::WebContents* web_contents) {
|
| web_contents->SetUserData(
|
| - UserDataKey(), new TestSaveCardBubbleControllerImpl(web_contents));
|
| + UserDataKey(),
|
| + base::MakeUnique<TestSaveCardBubbleControllerImpl>(web_contents));
|
| }
|
|
|
| explicit TestSaveCardBubbleControllerImpl(content::WebContents* web_contents)
|
|
|