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

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

Issue 2823833002: Deprecate RTCPeerConnection.getStreamById (Closed)
Patch Set: Created 3 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
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 e6426cf037a56dc063bada6a624d73d55b5a9788..279c17385aed54dcefc70d3d5de0305071063760 100644
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp
@@ -19,6 +19,7 @@ enum Milestone {
M59,
M60,
M61,
+ M62,
};
const char* milestoneString(Milestone milestone) {
@@ -34,6 +35,8 @@ const char* milestoneString(Milestone milestone) {
return "M60, around August 2017";
case M61:
return "M61, around September 2017";
+ case M62:
+ return "M62, around October 2017";
}
ASSERT_NOT_REACHED();
@@ -441,6 +444,10 @@ String Deprecation::DeprecationMessage(UseCounter::Feature feature) {
"details.",
milestoneString(M60));
+ case UseCounter::kV8RTCPeerConnection_GetStreamById_Method:
+ return willBeRemoved("RTCPeerConnection.getStreamById()", M62,
+ "5751819573657600");
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698