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

Unified Diff: content/renderer/pepper/pepper_media_stream_video_track_host.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/renderer/pepper/host_globals.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_media_stream_video_track_host.cc
diff --git a/content/renderer/pepper/pepper_media_stream_video_track_host.cc b/content/renderer/pepper/pepper_media_stream_video_track_host.cc
index 288bae36997fac871834b479fc430c5bdb139b16..d7f2b5cc70fdff151a939ee1e4bf27deb62df813 100644
--- a/content/renderer/pepper/pepper_media_stream_video_track_host.cc
+++ b/content/renderer/pepper/pepper_media_stream_video_track_host.cc
@@ -517,9 +517,9 @@ void PepperMediaStreamVideoTrackHost::InitBlinkTrack() {
std::string source_id;
base::Base64Encode(base::RandBytesAsString(64), &source_id);
blink::WebMediaStreamSource webkit_source;
- webkit_source.initialize(base::UTF8ToUTF16(source_id),
+ webkit_source.initialize(blink::WebString::fromUTF8(source_id),
blink::WebMediaStreamSource::TypeVideo,
- base::UTF8ToUTF16(kPepperVideoSourceName),
+ blink::WebString::fromUTF8(kPepperVideoSourceName),
false /* remote */);
MediaStreamVideoSource* const source =
new VideoSource(weak_factory_.GetWeakPtr());
« no previous file with comments | « content/renderer/pepper/host_globals.cc ('k') | content/renderer/pepper/pepper_plugin_instance_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698