Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/Deprecation.cpp |
| diff --git a/third_party/WebKit/Source/core/frame/Deprecation.cpp b/third_party/WebKit/Source/core/frame/Deprecation.cpp |
| index 4c0d973d8ffdc4786789901cb132dd1e26446ffa..86b92fb93a6ab78e3af975efb70d16720a4031ff 100644 |
| --- a/third_party/WebKit/Source/core/frame/Deprecation.cpp |
| +++ b/third_party/WebKit/Source/core/frame/Deprecation.cpp |
| @@ -462,8 +462,10 @@ String Deprecation::deprecationMessage(UseCounter::Feature feature) { |
| return replacedBy("VRDisplay.getPose()", "VRDisplay.getFrameData()"); |
| case UseCounter::DeprecatedBluetoothDeviceUUIDsAttribute: |
| - return "BluetoothDevice.uuids is deprecated. Use getPrimaryServices() to " |
| - "retrieve all available UUIDs."; |
| + return String::format( |
|
dcheng
2016/10/13 04:43:33
Can this use replacedBy("BluetoothDevice.uuids", M
juncai
2016/10/13 18:22:07
The replacedBy() takes two parameters instead of t
dcheng
2016/10/13 20:13:37
Oops, sorry, I meant willBeRemoved(): does that ma
juncai
2016/10/13 21:01:08
As the comment at:
https://codereview.chromium.org
Jeffrey Yasskin
2016/10/13 21:04:34
Specifically, Web Bluetooth has a link at https://
|
| + "BluetoothDevice.uuids is deprecated and will be removed in %s. Use " |
| + "getPrimaryServices() to retrieve all available UUIDs.", |
| + milestoneString(M57)); |
| // Features that aren't deprecated don't have a deprecation message. |
| default: |