summaryrefslogtreecommitdiffstats
path: root/webkit/database
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/database')
-rw-r--r--webkit/database/database_tracker.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/database/database_tracker.cc b/webkit/database/database_tracker.cc
index d109064..a37c2a0 100644
--- a/webkit/database/database_tracker.cc
+++ b/webkit/database/database_tracker.cc
@@ -214,7 +214,8 @@ FilePath DatabaseTracker::GetFullDBFilePath(
if (id < 0)
return FilePath();
- FilePath file_name = FilePath::FromWStringHack(Int64ToWString(id));
+ FilePath file_name = FilePath::FromWStringHack(
+ UTF8ToWide(base::Int64ToString(id)));
return db_dir_.Append(FilePath::FromWStringHack(
UTF16ToWide(GetOriginDirectory(origin_identifier)))).Append(file_name);
}