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 e469121424777f10b33e08c921cc3335f8ea2d65..cf5aa10bc023cbd1356a6e83c7cec8d5cb43fbf0 100644 |
--- a/third_party/WebKit/Source/modules/EventModulesFactory.h |
+++ b/third_party/WebKit/Source/modules/EventModulesFactory.h |
@@ -8,7 +8,9 @@ |
#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 { |
@@ -16,9 +18,9 @@ class Event; |
class EventModulesFactory final : public EventFactoryBase { |
public: |
- static PassOwnPtr<EventModulesFactory> create() |
+ static std::unique_ptr<EventModulesFactory> create() |
{ |
- return adoptPtr(new EventModulesFactory()); |
+ return wrapUnique(new EventModulesFactory()); |
} |
Event* create(ExecutionContext*, const String& eventType) override; |