Index: media/blink/webmediacapabilitiesclient_impl.cc |
diff --git a/media/blink/webmediacapabilitiesclient_impl.cc b/media/blink/webmediacapabilitiesclient_impl.cc |
index eaa48a151590c76411d964fd49582840ea76cf91..a407f88b06549f04bc3b23651b2c2d46e175895b 100644 |
--- a/media/blink/webmediacapabilitiesclient_impl.cc |
+++ b/media/blink/webmediacapabilitiesclient_impl.cc |
@@ -4,7 +4,7 @@ |
#include "media/blink/webmediacapabilitiesclient_impl.h" |
-#include "third_party/WebKit/public/platform/modules/media_capabilities/WebMediaDecodingAbility.h" |
+#include "third_party/WebKit/public/platform/modules/media_capabilities/WebMediaCapabilitiesInfo.h" |
namespace media { |
@@ -12,17 +12,17 @@ WebMediaCapabilitiesClientImpl::WebMediaCapabilitiesClientImpl() = default; |
WebMediaCapabilitiesClientImpl::~WebMediaCapabilitiesClientImpl() = default; |
-void WebMediaCapabilitiesClientImpl::Query( |
+void WebMediaCapabilitiesClientImpl::DecodingInfo( |
const blink::WebMediaConfiguration& configuration, |
std::unique_ptr<blink::WebMediaCapabilitiesQueryCallbacks> callbacks) { |
// TODO(chcunningham, mlamouri): this is a dummy implementation that returns |
// true for all the fields. |
- std::unique_ptr<blink::WebMediaDecodingAbility> ability( |
- new blink::WebMediaDecodingAbility()); |
- ability->supported = true; |
- ability->smooth = true; |
- ability->power_efficient = true; |
- callbacks->OnSuccess(std::move(ability)); |
+ std::unique_ptr<blink::WebMediaCapabilitiesInfo> info( |
+ new blink::WebMediaCapabilitiesInfo()); |
+ info->supported = true; |
+ info->smooth = true; |
+ info->power_efficient = true; |
+ callbacks->OnSuccess(std::move(info)); |
} |
} // namespace media |