Index: content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
diff --git a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
index c3f126e62c9714f39e0fbd9c712734462ed91bc6..94cc927ac76fa3769e0dbc649b97591f2632574e 100644 |
--- a/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
+++ b/content/browser/in_process_webkit/indexed_db_dispatcher_host.cc |
@@ -8,6 +8,7 @@ |
#include "base/bind.h" |
#include "base/command_line.h" |
+#include "base/files/file_path.h" |
#include "base/process.h" |
#include "base/process_util.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -28,7 +29,6 @@ |
#include "third_party/WebKit/public/platform/WebIDBDatabase.h" |
#include "third_party/WebKit/public/platform/WebIDBDatabaseError.h" |
#include "third_party/WebKit/public/platform/WebIDBDatabaseException.h" |
-#include "webkit/base/file_path_string_conversions.h" |
#include "webkit/browser/database/database_util.h" |
#include "webkit/common/database/database_identifier.h" |
@@ -224,7 +224,7 @@ void IndexedDBDispatcherHost::OnIDBFactoryGetDatabaseNames( |
new IndexedDBCallbacks<std::vector<string16> >( |
this, params.ipc_thread_id, params.ipc_callbacks_id), |
WebKit::WebString::fromUTF8(params.database_identifier), |
- webkit_base::FilePathToWebString(indexed_db_path)); |
+ indexed_db_path.AsUTF16Unsafe()); |
} |
void IndexedDBDispatcherHost::OnIDBFactoryOpen( |
@@ -254,7 +254,7 @@ void IndexedDBDispatcherHost::OnIDBFactoryOpen( |
new IndexedDBDatabaseCallbacks( |
this, params.ipc_thread_id, params.ipc_database_callbacks_id), |
WebKit::WebString::fromUTF8(params.database_identifier), |
- webkit_base::FilePathToWebString(indexed_db_path)); |
+ indexed_db_path.AsUTF16Unsafe()); |
} |
void IndexedDBDispatcherHost::OnIDBFactoryDeleteDatabase( |
@@ -267,7 +267,7 @@ void IndexedDBDispatcherHost::OnIDBFactoryDeleteDatabase( |
new IndexedDBCallbacks<std::vector<char> >( |
this, params.ipc_thread_id, params.ipc_callbacks_id), |
WebKit::WebString::fromUTF8(params.database_identifier), |
- webkit_base::FilePathToWebString(indexed_db_path)); |
+ indexed_db_path.AsUTF16Unsafe()); |
} |
void IndexedDBDispatcherHost::FinishTransaction(int64 host_transaction_id, |