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

Unified Diff: third_party/WebKit/Source/core/frame/Deprecation.cpp

Issue 1954693002: Deprecate subscriptions to MediaStream ended event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
Index: third_party/WebKit/Source/core/frame/Deprecation.cpp
diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp
index 7b2d9093f0aecb21784ae5b918f4d0518a8f67f3..0b5ce0dd87e465642f4e336b11ae104ec72dfec4 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -394,6 +394,9 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature)
case UseCounter::URLMethodRevokeObjectURLServiceWorker:
return willBeRemoved("The 'URL.revokeObjectURL' method in Service Workers", 52, "5685092332601344");
+ case UseCounter::MediaStreamOnEnded:
+ return replacedWillBeRemoved("The MediaStream 'ended' event", "the MediaStream 'inactive' event", 53, "5730404371791872");
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698