diff options
Diffstat (limited to 'sql')
-rw-r--r-- | sql/connection.cc | 2 | ||||
-rw-r--r-- | sql/test/test_helpers.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/connection.cc b/sql/connection.cc index 6ca60ef..6e02cd7 100644 --- a/sql/connection.cc +++ b/sql/connection.cc @@ -213,7 +213,7 @@ Connection::~Connection() { bool Connection::Open(const base::FilePath& path) { if (!histogram_tag_.empty()) { int64 size_64 = 0; - if (file_util::GetFileSize(path, &size_64)) { + if (base::GetFileSize(path, &size_64)) { size_t sample = static_cast<size_t>(size_64 / 1024); std::string full_histogram_name = "Sqlite.SizeKB." + histogram_tag_; base::HistogramBase* histogram = diff --git a/sql/test/test_helpers.cc b/sql/test/test_helpers.cc index 5438bd6..a913352 100644 --- a/sql/test/test_helpers.cc +++ b/sql/test/test_helpers.cc @@ -65,7 +65,7 @@ bool CorruptSizeInHeader(const base::FilePath& db_path) { return false; int64 db_size = 0; - if (!file_util::GetFileSize(db_path, &db_size)) + if (!base::GetFileSize(db_path, &db_size)) return false; const unsigned page_size = ReadBigEndian(header + kPageSizeOffset, 2); |