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

Unified Diff: third_party/WebKit/Source/modules/webusb/NavigatorUSB.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/webusb/NavigatorUSB.cpp
diff --git a/third_party/WebKit/Source/modules/webusb/NavigatorUSB.cpp b/third_party/WebKit/Source/modules/webusb/NavigatorUSB.cpp
index e47c7640d3b68a2d924fd3453674df0ea461a1f4..8d1cefced515215c0aca32168ff6e31db928f983 100644
--- a/third_party/WebKit/Source/modules/webusb/NavigatorUSB.cpp
+++ b/third_party/WebKit/Source/modules/webusb/NavigatorUSB.cpp
@@ -11,7 +11,7 @@ namespace blink {
NavigatorUSB& NavigatorUSB::from(Navigator& navigator)
{
- NavigatorUSB* supplement = static_cast<NavigatorUSB*>(HeapSupplement<Navigator>::from(navigator, supplementName()));
+ NavigatorUSB* supplement = static_cast<NavigatorUSB*>(Supplement<Navigator>::from(navigator, supplementName()));
if (!supplement) {
supplement = new NavigatorUSB(navigator);
provideTo(navigator, supplementName(), supplement);
@@ -32,7 +32,7 @@ USB* NavigatorUSB::usb()
DEFINE_TRACE(NavigatorUSB)
{
visitor->trace(m_usb);
- HeapSupplement<Navigator>::trace(visitor);
+ Supplement<Navigator>::trace(visitor);
}
NavigatorUSB::NavigatorUSB(Navigator& navigator)
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/NavigatorUSB.h ('k') | third_party/WebKit/Source/modules/webusb/USBController.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698