Index: sql/mojo/vfs_unittest.cc |
diff --git a/sql/mojo/vfs_unittest.cc b/sql/mojo/vfs_unittest.cc |
index 123299bfe9b8a4f2a6ab37d664cd7d0da772c76a..33c6171f7cce4c0fc16e04324525ab201c7d7111 100644 |
--- a/sql/mojo/vfs_unittest.cc |
+++ b/sql/mojo/vfs_unittest.cc |
@@ -2,6 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include <memory> |
+ |
#include "components/filesystem/public/interfaces/file_system.mojom.h" |
#include "mojo/application/public/cpp/application_impl.h" |
#include "mojo/application/public/cpp/application_test_base.h" |
@@ -10,12 +12,12 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/sqlite/sqlite3.h" |
-namespace base { |
+namespace std { |
// This deleter lets us be safe with sqlite3 objects, which aren't really the |
// structs, but slabs of new uint8_t[size]. |
template <> |
-struct DefaultDeleter<sqlite3_file> { |
+struct default_delete<sqlite3_file> { |
inline void operator()(sqlite3_file* ptr) const { |
// Why don't we call file->pMethods->xClose() here? Because it's not |
// guaranteed to be valid. sqlite3_file "objects" can be in partially |
@@ -24,7 +26,7 @@ struct DefaultDeleter<sqlite3_file> { |
} |
}; |
-} // namespace base |
+} // namespace std |
namespace sql { |