| Index: components/safe_json/json_sanitizer.cc
|
| diff --git a/components/safe_json/json_sanitizer.cc b/components/safe_json/json_sanitizer.cc
|
| index e00043e779804b4afc2c9fd554114424c5f8af29..43ede85fddfab138cb8a1440c8b0107b8b5b3bd5 100644
|
| --- a/components/safe_json/json_sanitizer.cc
|
| +++ b/components/safe_json/json_sanitizer.cc
|
| @@ -8,6 +8,8 @@
|
| #error Build json_sanitizer_android.cc instead of this file on Android.
|
| #endif
|
|
|
| +#include <memory>
|
| +
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| #include "base/json/json_writer.h"
|
| @@ -27,7 +29,7 @@ class OopJsonSanitizer : public JsonSanitizer {
|
| const StringCallback& error_callback);
|
|
|
| private:
|
| - friend struct base::DefaultDeleter<OopJsonSanitizer>;
|
| + friend std::default_delete<OopJsonSanitizer>;
|
| ~OopJsonSanitizer() {}
|
|
|
| void OnParseSuccess(scoped_ptr<base::Value> value);
|
|
|