Index: Source/core/frame/UseCounter.cpp |
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp |
index 74fd447c2e766ca9703adfcf616425b977085a47..155fea79802795084bbcd44fb2532ea05e07f9fc 100644 |
--- a/Source/core/frame/UseCounter.cpp |
+++ b/Source/core/frame/UseCounter.cpp |
@@ -670,6 +670,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(); |