| Index: Source/modules/webusb/USBConnectionEvent.cpp
|
| diff --git a/Source/modules/webusb/USBConnectionEvent.cpp b/Source/modules/webusb/USBConnectionEvent.cpp
|
| index 517c21ac07b63656a48fe2a9f231f96e78165edb..084f9c54af08b188d157532789cffaa0dfca9125 100644
|
| --- a/Source/modules/webusb/USBConnectionEvent.cpp
|
| +++ b/Source/modules/webusb/USBConnectionEvent.cpp
|
| @@ -10,14 +10,14 @@
|
|
|
| namespace blink {
|
|
|
| -USBConnectionEvent* USBConnectionEvent::create(const AtomicString& type, const USBConnectionEventInit& initializer)
|
| +PassRefPtrWillBeRawPtr<USBConnectionEvent> USBConnectionEvent::create(const AtomicString& type, const USBConnectionEventInit& initializer)
|
| {
|
| - return new USBConnectionEvent(type, initializer);
|
| + return adoptRefWillBeNoop(new USBConnectionEvent(type, initializer));
|
| }
|
|
|
| -USBConnectionEvent* USBConnectionEvent::create(const AtomicString& type, USBDevice* device)
|
| +PassRefPtrWillBeRawPtr<USBConnectionEvent> USBConnectionEvent::create(const AtomicString& type, USBDevice* device)
|
| {
|
| - return new USBConnectionEvent(type, device);
|
| + return adoptRefWillBeNoop(new USBConnectionEvent(type, device));
|
| }
|
|
|
| USBConnectionEvent::USBConnectionEvent(const AtomicString& type, const USBConnectionEventInit& initializer)
|
|
|