| Index: webkit/fileapi/file_system_origin_database.cc
|
| diff --git a/webkit/fileapi/file_system_origin_database.cc b/webkit/fileapi/file_system_origin_database.cc
|
| index a559c1bf1662f5f8bca80c7b98f32beb307f5b67..f028cdc7602e53f597d7da9a06bd9c8b017835e3 100644
|
| --- a/webkit/fileapi/file_system_origin_database.cc
|
| +++ b/webkit/fileapi/file_system_origin_database.cc
|
| @@ -4,8 +4,10 @@
|
|
|
| #include "webkit/fileapi/file_system_origin_database.h"
|
|
|
| +#include "base/format_macros.h"
|
| #include "base/logging.h"
|
| #include "base/string_number_conversions.h"
|
| +#include "base/stringprintf.h"
|
| #include "base/string_util.h"
|
| #include "base/sys_string_conversions.h"
|
| #include "third_party/leveldb/include/leveldb/iterator.h"
|
| @@ -93,7 +95,7 @@ bool FileSystemOriginDatabase::GetPathForOrigin(
|
| int last_path_number;
|
| if (!GetLastPathNumber(&last_path_number))
|
| return false;
|
| - path_string = base::IntToString(last_path_number + 1);
|
| + path_string = StringPrintf("%03u", last_path_number + 1);
|
| // store both back as a single transaction
|
| leveldb::WriteBatch batch;
|
| batch.Put(LastPathKey(), path_string);
|
|
|