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 71b341d3d91aa224705e35739dc506bcfb5875e0..dea9bff4b840c5e0ce3f2a8e710df3c99e3525bd 100644 |
--- a/third_party/WebKit/Source/core/frame/Deprecation.cpp |
+++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp |
@@ -20,16 +20,6 @@ const char* milestoneString(int milestone) |
// https://www.chromium.org/developers/calendar |
switch (milestone) { |
- case 50: |
- return "M50, around April 2016"; |
- case 51: |
- return "M51, around May 2016"; |
- case 52: |
- return "M52, around July 2016"; |
- case 53: |
- return "M53, around September 2016"; |
- case 54: |
- return "M54, around October 2016"; |
case 55: |
return "M55, around November 2016"; |
case 56: |
@@ -55,11 +45,6 @@ String dopplerWillBeRemoved(const char* feature, int milestone, const char* deta |
return String::format("%s is deprecated and will be removed in %s. It has no effect as the Web Audio doppler effects have already been removed internally. See https://www.chromestatus.com/features/%s for more details.", feature, milestoneString(milestone), details); |
} |
-String replacedWillBeRemoved(const char* feature, const char* replacement, int milestone, const char* details) |
-{ |
- return String::format("%s is deprecated and will be removed in %s. Please use %s instead. See https://www.chromestatus.com/features/%s for more details.", feature, milestoneString(milestone), replacement, details); |
-} |
- |
} // anonymous namespace |
namespace blink { |
@@ -348,9 +333,6 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) |
case UseCounter::HTMLKeygenElement: |
return willBeRemoved("The <keygen> element", 56, "5716060992962560"); |
- case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument: |
- return replacedWillBeRemoved("'window.postMessage(message, transferables, targetOrigin)'", "'window.postMessage(message, targetOrigin, transferables)'", 54, "5719033043222528"); |
- |
case UseCounter::EncryptedMediaAllSelectedContentTypesMissingCodecs: |
return String::format("EME requires that contentType strings accepted by requestMediaKeySystemAccess() include codecs. Non-standard support for contentType strings without codecs will be removed in %s. Please specify the desired codec(s) as part of the contentType.", milestoneString(54)); |