| 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)
|
|
|