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

Side by Side Diff: webkit/renderer/media/webmediaplayer_params.cc

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/renderer/media/webmediaplayer_params.h" 5 #include "webkit/renderer/media/webmediaplayer_params.h"
6 6
7 #include "media/base/audio_renderer_sink.h" 7 #include "media/base/audio_renderer_sink.h"
8 #include "media/base/media_log.h" 8 #include "media/base/media_log.h"
9 9
10 namespace webkit_media { 10 namespace webkit_media {
11 11
12 WebMediaPlayerParams::WebMediaPlayerParams( 12 WebMediaPlayerParams::WebMediaPlayerParams(
13 const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink, 13 const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink,
14 const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories, 14 const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories,
15 const scoped_refptr<media::MediaLog>& media_log) 15 const scoped_refptr<media::MediaLog>& media_log)
16 : audio_renderer_sink_(audio_renderer_sink), 16 : audio_renderer_sink_(audio_renderer_sink),
17 gpu_factories_(gpu_factories), 17 gpu_factories_(gpu_factories),
18 media_log_(media_log) { 18 media_log_(media_log) {
19 DCHECK(media_log_); 19 DCHECK(media_log_.get());
20 } 20 }
21 21
22 WebMediaPlayerParams::~WebMediaPlayerParams() {} 22 WebMediaPlayerParams::~WebMediaPlayerParams() {}
23 23
24 } // namespace webkit_media 24 } // namespace webkit_media
OLDNEW
« no previous file with comments | « webkit/renderer/media/webmediaplayer_ms.cc ('k') | webkit/support/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698