| Index: chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_unittest.cc
|
| diff --git a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_unittest.cc
|
| index d9efc935e645357b29b88efd186177197516234e..fcd20423a741508d26ca70e4538ae9713b3c4e31 100644
|
| --- a/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_unittest.cc
|
| +++ b/chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident_unittest.cc
|
| @@ -4,9 +4,10 @@
|
|
|
| #include "chrome/browser/safe_browsing/incident_reporting/blacklist_load_incident.h"
|
|
|
| +#include <memory>
|
| #include <utility>
|
|
|
| -#include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/ptr_util.h"
|
| #include "chrome/common/safe_browsing/csd.pb.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
|
|
| @@ -14,11 +15,11 @@ namespace safe_browsing {
|
|
|
| namespace {
|
|
|
| -scoped_ptr<Incident> MakeIncident(const char* path) {
|
| - scoped_ptr<ClientIncidentReport_IncidentData_BlacklistLoadIncident> incident(
|
| - new ClientIncidentReport_IncidentData_BlacklistLoadIncident);
|
| +std::unique_ptr<Incident> MakeIncident(const char* path) {
|
| + std::unique_ptr<ClientIncidentReport_IncidentData_BlacklistLoadIncident>
|
| + incident(new ClientIncidentReport_IncidentData_BlacklistLoadIncident);
|
| incident->set_path(path);
|
| - return make_scoped_ptr(new BlacklistLoadIncident(std::move(incident)));
|
| + return base::WrapUnique(new BlacklistLoadIncident(std::move(incident)));
|
| }
|
|
|
| } // namespace
|
|
|