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

Unified Diff: content/child/indexed_db/indexed_db_database_callbacks_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
Index: content/child/indexed_db/indexed_db_database_callbacks_impl.cc
diff --git a/content/child/indexed_db/indexed_db_database_callbacks_impl.cc b/content/child/indexed_db/indexed_db_database_callbacks_impl.cc
index 420424613e969890cc1b6e29b976986d51c900ae..904f80fb71fba8a7a8bb30e6f3ee6d6da2c3e1ab 100644
--- a/content/child/indexed_db/indexed_db_database_callbacks_impl.cc
+++ b/content/child/indexed_db/indexed_db_database_callbacks_impl.cc
@@ -26,7 +26,9 @@ void BuildErrorAndAbort(WebIDBDatabaseCallbacks* callbacks,
int64_t transaction_id,
int32_t code,
const base::string16& message) {
- callbacks->onAbort(transaction_id, blink::WebIDBDatabaseError(code, message));
+ callbacks->onAbort(
+ transaction_id,
+ blink::WebIDBDatabaseError(code, blink::WebString::fromUTF16(message)));
}
void BuildObservationsAndNotify(WebIDBDatabaseCallbacks* callbacks,
« no previous file with comments | « content/child/indexed_db/indexed_db_callbacks_impl.cc ('k') | content/child/indexed_db/indexed_db_key_builders.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698