Index: content/child/database_util.cc |
diff --git a/content/child/database_util.cc b/content/child/database_util.cc |
index 844799e1200456aee797d53586473d333e71a158..2dd4754a24962f6bfcaeae3a3f6566848f43b921 100644 |
--- a/content/child/database_util.cc |
+++ b/content/child/database_util.cc |
@@ -6,10 +6,12 @@ |
#include "content/common/database_messages.h" |
#include "ipc/ipc_sync_message_filter.h" |
+#include "third_party/WebKit/public/platform/WebSecurityOrigin.h" |
#include "third_party/WebKit/public/platform/WebString.h" |
#include "third_party/sqlite/sqlite3.h" |
using blink::Platform; |
+using blink::WebSecurityOrigin; |
using blink::WebString; |
namespace content { |
@@ -56,11 +58,10 @@ long long DatabaseUtil::DatabaseGetFileSize( |
} |
long long DatabaseUtil::DatabaseGetSpaceAvailable( |
- const WebString& origin_identifier, |
+ const WebSecurityOrigin& origin, |
IPC::SyncMessageFilter* sync_message_filter) { |
int64_t rv = 0LL; |
- sync_message_filter->Send( |
- new DatabaseHostMsg_GetSpaceAvailable(origin_identifier.utf8(), &rv)); |
+ sync_message_filter->Send(new DatabaseHostMsg_GetSpaceAvailable(origin, &rv)); |
return rv; |
} |