Index: chrome/browser/extensions/api/mdns/mdns_api_unittest.cc |
diff --git a/chrome/browser/extensions/api/mdns/mdns_api_unittest.cc b/chrome/browser/extensions/api/mdns/mdns_api_unittest.cc |
index d10304486d0e4843f51f6f124f26f245438a5ad2..490e2eb42a5ef4efc15fad0f45e1d4e664ce38dd 100644 |
--- a/chrome/browser/extensions/api/mdns/mdns_api_unittest.cc |
+++ b/chrome/browser/extensions/api/mdns/mdns_api_unittest.cc |
@@ -11,6 +11,7 @@ |
#include <vector> |
#include "base/memory/ptr_util.h" |
+#include "base/values.h" |
#include "chrome/browser/extensions/extension_service.h" |
#include "chrome/browser/extensions/extension_service_test_base.h" |
#include "chrome/browser/extensions/test_extension_system.h" |
@@ -245,7 +246,7 @@ class MDnsAPITest : public extensions::ExtensionServiceTestBase { |
// Setting app.background.page = "background.html" is sufficient to make |
// the extension type TYPE_PLATFORM_APP. |
manifest.Set(extensions::manifest_keys::kPlatformAppBackgroundPage, |
- new base::Value("background.html")); |
+ base::MakeUnique<base::Value>("background.html")); |
} |
std::string error; |