Index: third_party/WebKit/Source/modules/media_capabilities/MediaDecodingAbility.cpp |
diff --git a/third_party/WebKit/Source/modules/media_capabilities/MediaDecodingAbility.cpp b/third_party/WebKit/Source/modules/media_capabilities/MediaDecodingAbility.cpp |
deleted file mode 100644 |
index e11315ce5b5746c5e51ed4003ca70430c8fd2d29..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/modules/media_capabilities/MediaDecodingAbility.cpp |
+++ /dev/null |
@@ -1,35 +0,0 @@ |
-// 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 "modules/media_capabilities/MediaDecodingAbility.h" |
- |
-namespace blink { |
- |
-// static |
-MediaDecodingAbility* MediaDecodingAbility::Take( |
- ScriptPromiseResolver*, |
- std::unique_ptr<WebMediaDecodingAbility> web_media_decoding_ability) { |
- DCHECK(web_media_decoding_ability); |
- return new MediaDecodingAbility(std::move(web_media_decoding_ability)); |
-} |
- |
-bool MediaDecodingAbility::supported() const { |
- return web_media_decoding_ability_->supported; |
-} |
- |
-bool MediaDecodingAbility::smooth() const { |
- return web_media_decoding_ability_->smooth; |
-} |
- |
-bool MediaDecodingAbility::powerEfficient() const { |
- return web_media_decoding_ability_->power_efficient; |
-} |
- |
-DEFINE_TRACE(MediaDecodingAbility) {} |
- |
-MediaDecodingAbility::MediaDecodingAbility( |
- std::unique_ptr<WebMediaDecodingAbility> web_media_decoding_ability) |
- : web_media_decoding_ability_(std::move(web_media_decoding_ability)) {} |
- |
-} // namespace blink |