Make BluetoothRemoteGATTCharacteristic an ActiveScriptWrappable
This patch makes BluetoothRemoteGATTCharacteristic implement ActiveScriptWrappable so that when event listeners are registered the V8 wrappers will not be destroyed. This prevents event listeners from being silently destroyed if script does not maintain a reference to the characteristic object. Bug: 846977 Change-Id: I235e55a1fef41f81b45b1b281036ce24bc5d0279 Reviewed-on: https://chromium-review.googlesource.com/1079629Reviewed-by:Giovanni Ortuño Urquidi <ortuno@chromium.org> Commit-Queue: Reilly Grant <reillyg@chromium.org> Cr-Commit-Position: refs/heads/master@{#563113}
Showing
Please register or sign in to comment