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

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

Issue 1846913009: HeapSupplements are now just Supplements. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/BluetoothSupplement.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp
index e0493ae4683ec7e84364732558f78524182e4550..df2b273bc6bf42032f8c01e2fb62ea47c29b1d49 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp
@@ -21,12 +21,12 @@ BluetoothSupplement::BluetoothSupplement(WebBluetooth* bluetooth)
void BluetoothSupplement::provideTo(LocalFrame& frame, WebBluetooth* bluetooth)
{
RawPtr<BluetoothSupplement> bluetoothSupplement = new BluetoothSupplement(bluetooth);
- HeapSupplement<LocalFrame>::provideTo(frame, supplementName(), bluetoothSupplement.release());
+ Supplement<LocalFrame>::provideTo(frame, supplementName(), bluetoothSupplement.release());
};
WebBluetooth* BluetoothSupplement::from(LocalFrame* frame)
{
- BluetoothSupplement* supplement = static_cast<BluetoothSupplement*>(HeapSupplement<LocalFrame>::from(frame, supplementName()));
+ BluetoothSupplement* supplement = static_cast<BluetoothSupplement*>(Supplement<LocalFrame>::from(frame, supplementName()));
ASSERT(supplement);
ASSERT(supplement->m_bluetooth);
@@ -49,7 +49,7 @@ WebBluetooth* BluetoothSupplement::fromExecutionContext(ExecutionContext* execut
DEFINE_TRACE(BluetoothSupplement)
{
- HeapSupplement<LocalFrame>::trace(visitor);
+ Supplement<LocalFrame>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698