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

Unified Diff: third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp

Issue 2528563005: Add deprecation messages for EME requestMediaKeySystemAccess features (Closed)
Patch Set: fix test (+rebase) Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
diff --git a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
index 76c9f5d73543f04ee87d6732e393187d65c5c745..7f0f6e7b1bf1a52df98f99dbb24308068ca00c24 100644
--- a/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
+++ b/third_party/WebKit/Source/modules/encryptedmedia/NavigatorRequestMediaKeySystemAccess.cpp
@@ -314,10 +314,9 @@ void MediaKeySystemAccessInitializer::checkCapabilities(
UseCounter::count(m_resolver->getExecutionContext(),
UseCounter::EncryptedMediaCapabilityProvided);
} else {
- // TODO(jrummell): Switch to deprecation message once we understand
- // current usage. http://crbug.com/616233.
- UseCounter::count(m_resolver->getExecutionContext(),
- UseCounter::EncryptedMediaCapabilityNotProvided);
+ Deprecation::countDeprecation(
+ m_resolver->getExecutionContext(),
+ UseCounter::EncryptedMediaCapabilityNotProvided);
}
}
« no previous file with comments | « third_party/WebKit/Source/core/frame/Deprecation.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698