| Index: Source/core/page/UseCounter.cpp
|
| diff --git a/Source/core/page/UseCounter.cpp b/Source/core/page/UseCounter.cpp
|
| index 5ec1faa4cfd023c6fc306381c649f91ab15d18bb..58a983854345a23d9f03a59fbc88f40644a6f17c 100644
|
| --- a/Source/core/page/UseCounter.cpp
|
| +++ b/Source/core/page/UseCounter.cpp
|
| @@ -640,6 +640,10 @@ String UseCounter::deprecationMessage(Feature feature)
|
| case PrefixedDocumentRegister:
|
| return "The document.webkitRegister method is deprecated. Use the document.register method instead.";
|
|
|
| + // HTML Media Capture
|
| + case CaptureAttributeAsEnum:
|
| + return "Using the 'capture' attribute as an enum is deprecated. Please use it as a boolean and specify the media types that should be accepted in the 'accept' attribute.";
|
| +
|
| // Features that aren't deprecated don't have a deprecation message.
|
| default:
|
| return String();
|
|
|