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

Unified Diff: third_party/WebKit/Source/modules/nfc/NavigatorNFC.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/nfc/NavigatorNFC.cpp
diff --git a/third_party/WebKit/Source/modules/nfc/NavigatorNFC.cpp b/third_party/WebKit/Source/modules/nfc/NavigatorNFC.cpp
index 4d634423812ea79cb7ff5685736e1414184ed8d8..6fa5cdc29c8cc7384a15a4fa5ea34ac1a1bdcc5c 100644
--- a/third_party/WebKit/Source/modules/nfc/NavigatorNFC.cpp
+++ b/third_party/WebKit/Source/modules/nfc/NavigatorNFC.cpp
@@ -20,7 +20,7 @@ const char* NavigatorNFC::supplementName()
NavigatorNFC& NavigatorNFC::from(Navigator& navigator)
{
- NavigatorNFC* supplement = static_cast<NavigatorNFC*>(HeapSupplement<Navigator>::from(navigator, supplementName()));
+ NavigatorNFC* supplement = static_cast<NavigatorNFC*>(Supplement<Navigator>::from(navigator, supplementName()));
if (!supplement) {
supplement = new NavigatorNFC();
provideTo(navigator, supplementName(), supplement);
@@ -42,7 +42,7 @@ NFC* NavigatorNFC::nfc(Navigator& navigator)
DEFINE_TRACE(NavigatorNFC)
{
visitor->trace(m_nfc);
- HeapSupplement<Navigator>::trace(visitor);
+ Supplement<Navigator>::trace(visitor);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698