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

Unified Diff: content/renderer/clipboard_utils.cc

Issue 121033002: Update uses of UTF conversions in content/ to use the base:: namespace. (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
Index: content/renderer/clipboard_utils.cc
diff --git a/content/renderer/clipboard_utils.cc b/content/renderer/clipboard_utils.cc
index 28c04c99a7efd5efffaec07832cadba093da558d..eb88332af4a32488cc551ca0554388475feb7067 100644
--- a/content/renderer/clipboard_utils.cc
+++ b/content/renderer/clipboard_utils.cc
@@ -17,7 +17,7 @@ std::string URLToMarkup(const blink::WebURL& url,
markup.append(url.spec());
markup.append("\">");
// TODO(darin): HTML escape this
- markup.append(net::EscapeForHTML(UTF16ToUTF8(title)));
+ markup.append(net::EscapeForHTML(base::UTF16ToUTF8(title)));
markup.append("</a>");
return markup;
}
@@ -29,7 +29,7 @@ std::string URLToImageMarkup(const blink::WebURL& url,
markup.append("\"");
if (!title.isEmpty()) {
markup.append(" alt=\"");
- markup.append(net::EscapeForHTML(UTF16ToUTF8(title)));
+ markup.append(net::EscapeForHTML(base::UTF16ToUTF8(title)));
markup.append("\"");
}
markup.append("/>");
« no previous file with comments | « content/renderer/android/phone_number_detector_unittest.cc ('k') | content/renderer/cpp_bound_class_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698