| Index: third_party/WebKit/Source/core/html/media/MediaControls.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/media/MediaControls.cpp b/third_party/WebKit/Source/core/html/media/MediaControls.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..163d1b7ee118b1b92fd88e48bfec13dcd03c9383
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/html/media/MediaControls.cpp
|
| @@ -0,0 +1,22 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "core/html/media/MediaControls.h"
|
| +
|
| +#include "core/html/HTMLMediaElement.h"
|
| +
|
| +namespace blink {
|
| +
|
| +MediaControls::MediaControls(HTMLMediaElement& mediaElement)
|
| + : m_mediaElement(&mediaElement) {}
|
| +
|
| +HTMLMediaElement& MediaControls::mediaElement() const {
|
| + return *m_mediaElement;
|
| +}
|
| +
|
| +DEFINE_TRACE(MediaControls) {
|
| + visitor->trace(m_mediaElement);
|
| +}
|
| +
|
| +} // namespace blink
|
|
|