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

Unified Diff: third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.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/NavigatorBluetooth.cpp
diff --git a/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp b/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp
index fb291b80f45e3dd283539f24ac95c5faec582e16..43e567aeb323d9b3c9f49b6a5b3fc4cbfe0dfe66 100644
--- a/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp
+++ b/third_party/WebKit/Source/modules/bluetooth/NavigatorBluetooth.cpp
@@ -11,7 +11,7 @@ namespace blink {
NavigatorBluetooth& NavigatorBluetooth::from(Navigator& navigator)
{
- NavigatorBluetooth* supplement = static_cast<NavigatorBluetooth*>(HeapSupplement<Navigator>::from(navigator, supplementName()));
+ NavigatorBluetooth* supplement = static_cast<NavigatorBluetooth*>(Supplement<Navigator>::from(navigator, supplementName()));
if (!supplement) {
supplement = new NavigatorBluetooth();
provideTo(navigator, supplementName(), supplement);
@@ -34,7 +34,7 @@ Bluetooth* NavigatorBluetooth::bluetooth()
DEFINE_TRACE(NavigatorBluetooth)
{
visitor->trace(m_bluetooth);
- HeapSupplement<Navigator>::trace(visitor);
+ Supplement<Navigator>::trace(visitor);
}
NavigatorBluetooth::NavigatorBluetooth()

Powered by Google App Engine
This is Rietveld 408576698