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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBController.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, 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 f95fafdde1042534232cd106e5456c4ed9c63ffb..6329e229585306f324240702b5507ecd20437d41 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);
- WillBeHeapSupplement<LocalFrame>::provideTo(frame, supplementName(), adoptPtrWillBeNoop(controller));
+ HeapSupplement<LocalFrame>::provideTo(frame, supplementName(), adoptPtrWillBeNoop(controller));
}
USBController& USBController::from(LocalFrame& frame)
{
- USBController* controller = static_cast<USBController*>(WillBeHeapSupplement<LocalFrame>::from(frame, supplementName()));
+ USBController* controller = static_cast<USBController*>(HeapSupplement<LocalFrame>::from(frame, supplementName()));
ASSERT(controller);
return *controller;
}
@@ -45,7 +45,7 @@ void USBController::willDetachFrameHost()
DEFINE_TRACE(USBController)
{
- WillBeHeapSupplement<LocalFrame>::trace(visitor);
+ HeapSupplement<LocalFrame>::trace(visitor);
LocalFrameLifecycleObserver::trace(visitor);
}
« no previous file with comments | « third_party/WebKit/Source/modules/webusb/USBController.h ('k') | third_party/WebKit/Source/modules/webusb/USBDevice.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698