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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 e77a7ed2f29d527039846c9087e96cb66943ea89..204366f5b80a79992ded6b6c05cb818e9887a8f3 100644
--- a/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/BluetoothSupplement.cpp
@@ -20,13 +20,13 @@ BluetoothSupplement::BluetoothSupplement(WebBluetooth* bluetooth)
void BluetoothSupplement::provideTo(LocalFrame& frame, WebBluetooth* bluetooth)
{
- OwnPtrWillBeRawPtr<BluetoothSupplement> bluetoothSupplement = adoptPtrWillBeNoop(new BluetoothSupplement(bluetooth));
- WillBeHeapSupplement<LocalFrame>::provideTo(frame, supplementName(), bluetoothSupplement.release());
+ RawPtr<BluetoothSupplement> bluetoothSupplement = (new BluetoothSupplement(bluetooth));
+ HeapSupplement<LocalFrame>::provideTo(frame, supplementName(), bluetoothSupplement.release());
};
WebBluetooth* BluetoothSupplement::from(LocalFrame* frame)
{
- BluetoothSupplement* supplement = static_cast<BluetoothSupplement*>(WillBeHeapSupplement<LocalFrame>::from(frame, supplementName()));
+ BluetoothSupplement* supplement = static_cast<BluetoothSupplement*>(HeapSupplement<LocalFrame>::from(frame, supplementName()));
ASSERT(supplement);
ASSERT(supplement->m_bluetooth);
@@ -49,7 +49,7 @@ WebBluetooth* BluetoothSupplement::fromExecutionContext(ExecutionContext* execut
DEFINE_TRACE(BluetoothSupplement)
{
- WillBeHeapSupplement<LocalFrame>::trace(visitor);
+ HeapSupplement<LocalFrame>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698