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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 153613002: Deprecate the HTMLSourceElement.media IDL attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: indent Created 6 years, 10 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 | « LayoutTests/media/source-media-deprecated-expected.txt ('k') | Source/core/html/HTMLSourceElement.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index d2ce73cda4f6344ee4afe33616996c6e3dcc7c7d..5890c86864790cd946b5fa7fccdbeb840e52e478 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -706,6 +706,9 @@ String UseCounter::deprecationMessage(Feature feature)
case MediaErrorEncrypted:
return "'MediaError.MEDIA_ERR_ENCRYPTED' is deprecated. This error code is never used.";
+ case HTMLSourceElementMedia:
+ return "'HTMLSourceElement.media' is deprecated. This attribute doesn't do anything.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « LayoutTests/media/source-media-deprecated-expected.txt ('k') | Source/core/html/HTMLSourceElement.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698