Index: Source/core/frame/UseCounter.cpp |
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp |
index 5246be0e5018337127f4b5a879034eae552d8a8f..a6278d87cde85fe8cddf3d754d82e225d278b4b0 100644 |
--- a/Source/core/frame/UseCounter.cpp |
+++ b/Source/core/frame/UseCounter.cpp |
@@ -679,6 +679,9 @@ String UseCounter::deprecationMessage(Feature feature) |
case PrefixedSpeechAttribute: |
return "The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead."; |
+ case PrefixedGamepad: |
+ return "'navigator.webkitGetGamepads' is deprecated. Please use 'navigator.getGamepads' instead."; |
+ |
// Features that aren't deprecated don't have a deprecation message. |
default: |
return String(); |