Index: third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
index 2655107a5dd42aa320731c8f22003ea2c11b50c0..98d0d933fa8f9cf87acc76ba1f196f075e685c14 100644 |
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothRemoteGATTCharacteristic.cpp |
@@ -197,13 +197,6 @@ ScriptPromise BluetoothRemoteGATTCharacteristic::writeValue(ScriptState* scriptS |
ScriptPromise BluetoothRemoteGATTCharacteristic::startNotifications(ScriptState* scriptState) |
{ |
-#if OS(MACOSX) |
- // TODO(jlebel): Remove when startNotifications is implemented. |
- return ScriptPromise::rejectWithDOMException(scriptState, |
- DOMException::create(NotSupportedError, |
- "startNotifications is not implemented yet. See https://goo.gl/J6ASzs")); |
-#endif // OS(MACOSX) |
- |
WebBluetooth* webbluetooth = BluetoothSupplement::fromScriptState(scriptState); |
ScriptPromiseResolver* resolver = ScriptPromiseResolver::create(scriptState); |
ScriptPromise promise = resolver->promise(); |