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

Unified Diff: content/child/indexed_db/webidbdatabase_impl_unittest.cc

Issue 2656043002: Use explicit WebString conversions in remaining content files (Closed)
Patch Set: build fix Created 3 years, 11 months 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 | « no previous file | content/child/webmessageportchannel_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/indexed_db/webidbdatabase_impl_unittest.cc
diff --git a/content/child/indexed_db/webidbdatabase_impl_unittest.cc b/content/child/indexed_db/webidbdatabase_impl_unittest.cc
index 114737bcf17185b907be78661468a598bb60bd49..5bbd1e364847fa9e660dc23d9902be1db5c4eaef 100644
--- a/content/child/indexed_db/webidbdatabase_impl_unittest.cc
+++ b/content/child/indexed_db/webidbdatabase_impl_unittest.cc
@@ -76,8 +76,8 @@ TEST_F(WebIDBDatabaseImplTest, KeyAndValueSizeTest) {
const std::vector<char> data(kMaxValueSizeForTesting - kKeySize);
const WebData value(&data.front(), data.size());
const WebVector<WebBlobInfo> web_blob_info;
- const WebIDBKey key = WebIDBKey::createString(
- base::string16(kKeySize / sizeof(base::string16::value_type), 'x'));
+ const WebIDBKey key = WebIDBKey::createString(blink::WebString::fromUTF16(
+ base::string16(kKeySize / sizeof(base::string16::value_type), 'x')));
jam 2017/01/26 19:08:10 nit: use the WebString constructor that takes in a
kinuko 2017/01/27 05:33:02 It doesn't seem to have a convenient ctor for this
const int64_t transaction_id = 1;
const int64_t object_store_id = 2;
« no previous file with comments | « no previous file | content/child/webmessageportchannel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698