commit | 5f9bd41f891bd708257b8729d1f108820d09f9a1 | [log] [tgz] |
---|---|---|
author | Scott Graham <scottmg@chromium.org> | Wed Oct 24 22:36:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 24 22:36:45 2018 |
tree | 123ca4097173ca4fab4bcf33eb7c02372f2f6cc7 | |
parent | 3629d825012de4e1ce8cad1a2be9b654c7b01b6a [diff] |
fuchsia: Use UTF8 filename path for in_memory_database Bug: 808287 Change-Id: I412c47c632f3dc3042e324939e9a241522cb7a33 Reviewed-on: https://chromium-review.googlesource.com/c/1297277 Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org> Cr-Commit-Position: refs/heads/master@{#602498}
diff --git a/components/history/core/browser/in_memory_database.cc b/components/history/core/browser/in_memory_database.cc index 8587a67..bc037b7 100644 --- a/components/history/core/browser/in_memory_database.cc +++ b/components/history/core/browser/in_memory_database.cc
@@ -68,7 +68,7 @@ // Attach to the history database on disk. (We can't ATTACH in the middle of // a transaction.) sql::Statement attach(GetDB().GetUniqueStatement("ATTACH ? AS history")); -#if defined(OS_POSIX) +#if defined(OS_POSIX) || defined(OS_FUCHSIA) attach.BindString(0, history_name.value()); #else attach.BindString(0, base::WideToUTF8(history_name.value()));