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

Unified Diff: Source/core/html/HTMLMediaElement.cpp

Issue 14146021: Move deprecation messages to UseCounter::measureDeprecatedFeature. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 8 months 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 | « Source/bindings/scripts/CodeGeneratorV8.pm ('k') | Source/core/html/HTMLMediaElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLMediaElement.cpp
diff --git a/Source/core/html/HTMLMediaElement.cpp b/Source/core/html/HTMLMediaElement.cpp
index 04510683b2aeff79f3da23de59d30575b832efb4..4ac2a209de21e07bb362fcaa30c4a09b4076a9fc 100644
--- a/Source/core/html/HTMLMediaElement.cpp
+++ b/Source/core/html/HTMLMediaElement.cpp
@@ -2293,10 +2293,6 @@ void HTMLMediaElement::setSourceState(const String& state)
#if ENABLE(ENCRYPTED_MEDIA)
void HTMLMediaElement::webkitGenerateKeyRequest(const String& keySystem, PassRefPtr<Uint8Array> initData, ExceptionCode& ec)
{
-#if ENABLE(ENCRYPTED_MEDIA_V2)
- PageConsole::reportDeprecation(scriptExecutionContext(), PrefixedMediaGenerateKeyRequest);
-#endif
-
if (keySystem.isEmpty()) {
ec = SYNTAX_ERR;
return;
@@ -2325,10 +2321,6 @@ void HTMLMediaElement::webkitGenerateKeyRequest(const String& keySystem, Excepti
void HTMLMediaElement::webkitAddKey(const String& keySystem, PassRefPtr<Uint8Array> key, PassRefPtr<Uint8Array> initData, const String& sessionId, ExceptionCode& ec)
{
-#if ENABLE(ENCRYPTED_MEDIA_V2)
- PageConsole::reportDeprecation(scriptExecutionContext(), PrefixedMediaAddKey);
-#endif
-
if (keySystem.isEmpty()) {
ec = SYNTAX_ERR;
return;
« no previous file with comments | « Source/bindings/scripts/CodeGeneratorV8.pm ('k') | Source/core/html/HTMLMediaElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698