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

Unified Diff: content/public/common/color_suggestion.cc

Issue 2537953003: WebString: makes string16 conversions explicit (part 1: blink, content) (Closed)
Patch Set: fix 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/webmessageportchannel_impl.cc ('k') | content/public/common/window_container_type.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/color_suggestion.cc
diff --git a/content/public/common/color_suggestion.cc b/content/public/common/color_suggestion.cc
index 0d3653808da4b537f8441b9acd77da95085b65b2..457ddd464fb3186d3979552b5801ede3e5014e77 100644
--- a/content/public/common/color_suggestion.cc
+++ b/content/public/common/color_suggestion.cc
@@ -9,8 +9,6 @@
namespace content {
ColorSuggestion::ColorSuggestion(const blink::WebColorSuggestion& suggestion)
- : color(suggestion.color),
- label(suggestion.label) {
-}
+ : color(suggestion.color), label(suggestion.label.utf16()) {}
} // namespace content
« no previous file with comments | « content/child/webmessageportchannel_impl.cc ('k') | content/public/common/window_container_type.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698