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

Unified Diff: third_party/WebKit/Source/modules/webusb/USBConnectionEvent.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/USBConnectionEvent.cpp
diff --git a/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.cpp b/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.cpp
index c5fa4619a1e1554c144a1bec509eb619963b675e..3aecfcfdb433553baf48109e48f64c43e0bc6747 100644
--- a/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.cpp
+++ b/third_party/WebKit/Source/modules/webusb/USBConnectionEvent.cpp
@@ -9,14 +9,14 @@
namespace blink {
-PassRefPtrWillBeRawPtr<USBConnectionEvent> USBConnectionEvent::create(const AtomicString& type, const USBConnectionEventInit& initializer)
+RawPtr<USBConnectionEvent> USBConnectionEvent::create(const AtomicString& type, const USBConnectionEventInit& initializer)
{
- return adoptRefWillBeNoop(new USBConnectionEvent(type, initializer));
+ return new USBConnectionEvent(type, initializer);
}
-PassRefPtrWillBeRawPtr<USBConnectionEvent> USBConnectionEvent::create(const AtomicString& type, USBDevice* device)
+RawPtr<USBConnectionEvent> USBConnectionEvent::create(const AtomicString& type, USBDevice* device)
{
- return adoptRefWillBeNoop(new USBConnectionEvent(type, device));
+ return new USBConnectionEvent(type, device);
}
USBConnectionEvent::USBConnectionEvent(const AtomicString& type, const USBConnectionEventInit& initializer)

Powered by Google App Engine
This is Rietveld 408576698