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

Unified Diff: media/cast/test/receiver.cc

Issue 163553006: Cast: Refactoring Cast API's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactoring and responding to review Created 6 years, 10 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: media/cast/test/receiver.cc
diff --git a/media/cast/test/receiver.cc b/media/cast/test/receiver.cc
index fb8604cca5e672282b60435e93fe53438aa84e44..303c5ee287e2e7418a7b54d67c91afe205a4adc0 100644
--- a/media/cast/test/receiver.cc
+++ b/media/cast/test/receiver.cc
@@ -282,9 +282,9 @@ int main(int argc, char** argv) {
local_end_point,
remote_end_point,
base::Bind(&media::cast::UpdateCastTransportStatus)));
- scoped_ptr<media::cast::CastReceiver> cast_receiver(
- media::cast::CastReceiver::CreateCastReceiver(
- cast_environment, audio_config, video_config, transport.get()));
+ scoped_ptr<media::cast::CastReceiver> cast_receiver =
+ media::cast::CastReceiver::Create(
+ cast_environment, audio_config, video_config, transport.get());
// TODO(hubbe): Make the cast receiver do this automatically.
transport->StartReceiving(cast_receiver->packet_receiver());

Powered by Google App Engine
This is Rietveld 408576698