| Index: third_party/WebKit/Source/modules/EventModulesFactory.h
|
| diff --git a/third_party/WebKit/Source/modules/EventModulesFactory.h b/third_party/WebKit/Source/modules/EventModulesFactory.h
|
| index cf5aa10bc023cbd1356a6e83c7cec8d5cb43fbf0..e469121424777f10b33e08c921cc3335f8ea2d65 100644
|
| --- a/third_party/WebKit/Source/modules/EventModulesFactory.h
|
| +++ b/third_party/WebKit/Source/modules/EventModulesFactory.h
|
| @@ -8,9 +8,7 @@
|
| #include "core/events/EventFactory.h"
|
| #include "platform/heap/Handle.h"
|
| #include "wtf/PassRefPtr.h"
|
| -#include "wtf/PtrUtil.h"
|
| #include "wtf/text/AtomicString.h"
|
| -#include <memory>
|
|
|
| namespace blink {
|
|
|
| @@ -18,9 +16,9 @@ class Event;
|
|
|
| class EventModulesFactory final : public EventFactoryBase {
|
| public:
|
| - static std::unique_ptr<EventModulesFactory> create()
|
| + static PassOwnPtr<EventModulesFactory> create()
|
| {
|
| - return wrapUnique(new EventModulesFactory());
|
| + return adoptPtr(new EventModulesFactory());
|
| }
|
|
|
| Event* create(ExecutionContext*, const String& eventType) override;
|
|
|