Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(974)

Unified Diff: content/child/db_message_filter.cc

Issue 2586483002: Use explicit WebString <-> string16 conversion methods in storage API files (Closed)
Patch Set: '' Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/database_util.cc ('k') | content/child/fileapi/webfilesystem_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/db_message_filter.cc
diff --git a/content/child/db_message_filter.cc b/content/child/db_message_filter.cc
index 5c4045df4df91eb48bdce99f5016f24c41f184ef..2ad9e8f9ac60e177fcfe5b52e089f3e6d0d61aaa 100644
--- a/content/child/db_message_filter.cc
+++ b/content/child/db_message_filter.cc
@@ -39,7 +39,8 @@ void DBMessageFilter::OnDatabaseUpdateSize(const url::Origin& origin,
const base::string16& database_name,
int64_t database_size) {
DCHECK(!origin.unique());
- blink::WebDatabase::updateDatabaseSize(origin, database_name, database_size);
+ blink::WebDatabase::updateDatabaseSize(
+ origin, WebString::fromUTF16(database_name), database_size);
}
void DBMessageFilter::OnDatabaseUpdateSpaceAvailable(const url::Origin& origin,
@@ -57,7 +58,8 @@ void DBMessageFilter::OnDatabaseCloseImmediately(
const url::Origin& origin,
const base::string16& database_name) {
DCHECK(!origin.unique());
- blink::WebDatabase::closeDatabaseImmediately(origin, database_name);
+ blink::WebDatabase::closeDatabaseImmediately(
+ origin, WebString::fromUTF16(database_name));
}
} // namespace content
« no previous file with comments | « content/child/database_util.cc ('k') | content/child/fileapi/webfilesystem_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698