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

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

Issue 2570463005: Retire ThreadState::registerPreFinalizer<T>() (Closed)
Patch Set: Created 4 years 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 7f71ff632c2084c66b6902354156d051b838828f..edf8326abf33722fa21ff893961af5ea1d5c2988 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothDevice.cpp
@@ -27,8 +27,6 @@ BluetoothDevice::BluetoothDevice(
m_attributeInstanceMap(new BluetoothAttributeInstanceMap(this)),
m_webDevice(std::move(webDevice)),
m_gatt(BluetoothRemoteGATTServer::create(this)) {
- // See example in Source/platform/heap/ThreadState.h
- ThreadState::current()->registerPreFinalizer(this);
}
BluetoothDevice* BluetoothDevice::take(

Powered by Google App Engine
This is Rietveld 408576698