Chromium Code Reviews| 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 2f9514b77d54f65414fcfaff0ce395b375d33d93..e567b051320ee8a83bcb58d663b92d6a699fc936 100644 |
| --- a/third_party/WebKit/Source/core/frame/Deprecation.cpp |
| +++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp |
| @@ -364,6 +364,9 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) |
| case UseCounter::WebAnimationsEasingAsFunctionLinear: |
| return String::format("Specifying animation easing as a function is deprecated and all support will be removed in %s, at which point this will throw a TypeError. This warning may have been triggered by the Web Animations or Polymer polyfills. See http://crbug.com/601672 for details.", milestoneString(54)); |
| + case UseCounter::WindowPostMessageWithLegacyTargetOriginArgument: |
| + return willBeRemoved("'window.postMessage(message, transferables, targetOrigin)'", 54, "5719033043222528"); |
|
philipj_slow
2016/04/21 10:03:29
Maybe replacedWillBeRemoved so that people don't h
sof
2016/04/21 10:18:39
Good idea, this seems like a poster child for that
|
| + |
| // Features that aren't deprecated don't have a deprecation message. |
| default: |
| return String(); |