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

Unified Diff: content/child/indexed_db/webidbfactory_impl.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/indexed_db/webidbdatabase_impl.cc ('k') | content/child/web_database_observer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/webidbfactory_impl.cc
diff --git a/content/child/indexed_db/webidbfactory_impl.cc b/content/child/indexed_db/webidbfactory_impl.cc
index 7d11079ec3d6a7f196ed73c39127f9f0c75908e4..4661026eff251f92270e89abcdbc1674f45da664 100644
--- a/content/child/indexed_db/webidbfactory_impl.cc
+++ b/content/child/indexed_db/webidbfactory_impl.cc
@@ -88,7 +88,7 @@ void WebIDBFactoryImpl::open(const WebString& name,
io_runner_->PostTask(
FROM_HERE,
base::Bind(&IOThreadHelper::Open, base::Unretained(io_helper_),
- base::string16(name), version, transaction_id,
+ name.utf16(), version, transaction_id,
base::Passed(&callbacks_impl),
base::Passed(&database_callbacks_impl), url::Origin(origin)));
}
@@ -102,7 +102,7 @@ void WebIDBFactoryImpl::deleteDatabase(const WebString& name,
io_runner_->PostTask(
FROM_HERE,
base::Bind(&IOThreadHelper::DeleteDatabase, base::Unretained(io_helper_),
- base::string16(name), base::Passed(&callbacks_impl),
+ name.utf16(), base::Passed(&callbacks_impl),
url::Origin(origin)));
}
« no previous file with comments | « content/child/indexed_db/webidbdatabase_impl.cc ('k') | content/child/web_database_observer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698