Index: Source/core/frame/UseCounter.cpp |
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp |
index f8d9a2a3700008b8a14ed8306fe0087ebba0725a..e3c8ac3db3c0eb39d8de10a26e39f713f629e087 100644 |
--- a/Source/core/frame/UseCounter.cpp |
+++ b/Source/core/frame/UseCounter.cpp |
@@ -685,6 +685,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(); |