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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBController.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/USBController.cpp
diff --git a/third_party/WebKit/Source/modules/webusb/USBController.cpp b/third_party/WebKit/Source/modules/webusb/USBController.cpp
index 5c8a14cb49b060cfdd2095eb5cd6f210f4a6583f..5277fa9260798d8b6cb813beb2282150ac3c1d87 100644
--- a/third_party/WebKit/Source/modules/webusb/USBController.cpp
+++ b/third_party/WebKit/Source/modules/webusb/USBController.cpp
@@ -17,12 +17,12 @@ void USBController::provideTo(LocalFrame& frame, WebUSBClient* client)
{
ASSERT(RuntimeEnabledFeatures::webUSBEnabled());
USBController* controller = new USBController(frame, client);
- HeapSupplement<LocalFrame>::provideTo(frame, supplementName(), controller);
+ Supplement<LocalFrame>::provideTo(frame, supplementName(), controller);
}
USBController& USBController::from(LocalFrame& frame)
{
- USBController* controller = static_cast<USBController*>(HeapSupplement<LocalFrame>::from(frame, supplementName()));
+ USBController* controller = static_cast<USBController*>(Supplement<LocalFrame>::from(frame, supplementName()));
ASSERT(controller);
return *controller;
}
@@ -45,7 +45,7 @@ void USBController::willDetachFrameHost()
DEFINE_TRACE(USBController)
{
- HeapSupplement<LocalFrame>::trace(visitor);
+ Supplement<LocalFrame>::trace(visitor);
LocalFrameLifecycleObserver::trace(visitor);
}
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/USBController.h ('k') | third_party/WebKit/Source/platform/Supplementable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698