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

Unified Diff: content/renderer/media/media_stream_video_source_unittest.cc

Issue 2644853002: Use explicit WebString conversion methods in content/renderer/media (unittests) (Closed)
Patch Set: 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
Index: content/renderer/media/media_stream_video_source_unittest.cc
diff --git a/content/renderer/media/media_stream_video_source_unittest.cc b/content/renderer/media/media_stream_video_source_unittest.cc
index dfeea8edf4ba6755c0ecca5759573121af102559..9f21b46045d069bae666ab48c1a1b05f12bf9847 100644
--- a/content/renderer/media/media_stream_video_source_unittest.cc
+++ b/content/renderer/media/media_stream_video_source_unittest.cc
@@ -50,9 +50,9 @@ class MediaStreamVideoSourceTest : public ::testing::Test {
formats.push_back(media::VideoCaptureFormat(
gfx::Size(320, 240), 30, media::PIXEL_FORMAT_I420));
mock_source_->SetSupportedFormats(formats);
- webkit_source_.initialize(base::UTF8ToUTF16("dummy_source_id"),
+ webkit_source_.initialize(blink::WebString::fromASCII("dummy_source_id"),
blink::WebMediaStreamSource::TypeVideo,
- base::UTF8ToUTF16("dummy_source_name"),
+ blink::WebString::fromASCII("dummy_source_name"),
false /* remote */);
webkit_source_.setExtraData(mock_source_);
}

Powered by Google App Engine
This is Rietveld 408576698