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

Unified Diff: ppapi/proxy/pdf_resource_unittest.cc

Issue 109863003: Use StringPiece for UTF string conversions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « net/proxy/proxy_resolver_v8.cc ('k') | third_party/zlib/google/zip_reader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/pdf_resource_unittest.cc
diff --git a/ppapi/proxy/pdf_resource_unittest.cc b/ppapi/proxy/pdf_resource_unittest.cc
index 3ac60d6413b365a6d87501bb10518ac6c915600e..a80c3c5a88312af8705aae658f5444efb4844205 100644
--- a/ppapi/proxy/pdf_resource_unittest.cc
+++ b/ppapi/proxy/pdf_resource_unittest.cc
@@ -67,8 +67,8 @@ TEST_F(PDFResourceTest, SearchString) {
string16 input;
string16 term;
- UTF8ToUTF16("abcdefabcdef", 12, &input);
- UTF8ToUTF16("bc", 2, &term);
+ base::UTF8ToUTF16(base::StringPiece("abcdefabcdef", 12), &input);
+ base::UTF8ToUTF16(base::StringPiece("bc", 2), &term);
PP_PrivateFindResult* results;
int count = 0;
« no previous file with comments | « net/proxy/proxy_resolver_v8.cc ('k') | third_party/zlib/google/zip_reader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698