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()));