Index: Source/core/frame/UseCounter.cpp |
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp |
index f8d9a2a3700008b8a14ed8306fe0087ebba0725a..ffb5d2da00c3921c5a6029198a41346a673d6915 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 the unprefixed 'navigator.getGamepads' method instead."; |
eseidel
2014/03/06 01:56:16
You can remove "the unprefixed" and "method" and
|
+ |
// Features that aren't deprecated don't have a deprecation message. |
default: |
return String(); |