Index: google_apis/gaia/gaia_auth_util.cc |
diff --git a/google_apis/gaia/gaia_auth_util.cc b/google_apis/gaia/gaia_auth_util.cc |
index 2bbee2a8060b3dbea42872a24ad0ce85e6a9c20b..6e1d9369f45bfecde39727ebdd6b3507ece7026a 100644 |
--- a/google_apis/gaia/gaia_auth_util.cc |
+++ b/google_apis/gaia/gaia_auth_util.cc |
@@ -11,6 +11,7 @@ |
#include "base/bind.h" |
#include "base/json/json_reader.h" |
#include "base/logging.h" |
+#include "base/memory/ptr_util.h" |
#include "base/strings/string_split.h" |
#include "base/strings/string_util.h" |
#include "base/values.h" |
@@ -52,8 +53,8 @@ std::string CanonicalizeEmailImpl(const std::string& email_address, |
class GaiaURLRequestUserData : public base::SupportsUserData::Data { |
public: |
- static base::SupportsUserData::Data* Create() { |
- return new GaiaURLRequestUserData(); |
+ static std::unique_ptr<base::SupportsUserData::Data> Create() { |
+ return base::MakeUnique<GaiaURLRequestUserData>(); |
} |
}; |