Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Unified Diff: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp

Issue 1945823003: bluetooth: Remove BluetoothAdvertisementData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@my-origin
Patch Set: Fix test Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
index a3deac29a25057a62d4fcd6cf03eedfbd55a1407..6fffc04bfcf469adab1b970d52e5c1d28d101107 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
@@ -19,7 +19,6 @@ namespace blink {
BluetoothDevice::BluetoothDevice(ExecutionContext* context, PassOwnPtr<WebBluetoothDevice> webDevice)
: ActiveDOMObject(context)
, m_webDevice(std::move(webDevice))
- , m_adData(BluetoothAdvertisingData::create(m_webDevice->txPower, m_webDevice->rssi))
, m_gatt(BluetoothRemoteGATTServer::create(this))
{
// See example in Source/platform/heap/ThreadState.h
@@ -68,7 +67,6 @@ DEFINE_TRACE(BluetoothDevice)
{
EventTargetWithInlineData::trace(visitor);
ActiveDOMObject::trace(visitor);
- visitor->trace(m_adData);
visitor->trace(m_gatt);
}

Powered by Google App Engine
This is Rietveld 408576698