Fix Win8 metro startup crash from window switcher button
[chromium-blink-merge.git] / webkit / media / webmediaplayer_params.cc
blob6f013b6176502cd59232408fd4fad7c8237586f1
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "webkit/media/webmediaplayer_params.h"
7 #include "media/base/audio_renderer_sink.h"
8 #include "media/base/media_log.h"
10 namespace webkit_media {
12 WebMediaPlayerParams::WebMediaPlayerParams(
13 const scoped_refptr<media::AudioRendererSink>& audio_renderer_sink,
14 const scoped_refptr<media::GpuVideoDecoder::Factories>& gpu_factories,
15 const scoped_refptr<media::MediaLog>& media_log)
16 : audio_renderer_sink_(audio_renderer_sink),
17 gpu_factories_(gpu_factories),
18 media_log_(media_log) {
19 DCHECK(media_log_);
22 WebMediaPlayerParams::~WebMediaPlayerParams() {}
24 } // namespace webkit_media