| Index: Source/core/events/FocusEvent.h
|
| diff --git a/Source/core/events/FocusEvent.h b/Source/core/events/FocusEvent.h
|
| index ab1f25c65b116bf59d84a5f8f924409fd4ef4106..fd66f186ec78a96005a68975858db3f7a94e0436 100644
|
| --- a/Source/core/events/FocusEvent.h
|
| +++ b/Source/core/events/FocusEvent.h
|
| @@ -41,19 +41,19 @@ struct FocusEventInit : public UIEventInit {
|
|
|
| class FocusEvent FINAL : public UIEvent {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<FocusEvent> create()
|
| + static PassRefPtr<FocusEvent> create()
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new FocusEvent);
|
| + return adoptRef(new FocusEvent);
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<FocusEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail, EventTarget* relatedTarget)
|
| + static PassRefPtr<FocusEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail, EventTarget* relatedTarget)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new FocusEvent(type, canBubble, cancelable, view, detail, relatedTarget));
|
| + return adoptRef(new FocusEvent(type, canBubble, cancelable, view, detail, relatedTarget));
|
| }
|
|
|
| - static PassRefPtrWillBeRawPtr<FocusEvent> create(const AtomicString& type, const FocusEventInit& initializer)
|
| + static PassRefPtr<FocusEvent> create(const AtomicString& type, const FocusEventInit& initializer)
|
| {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new FocusEvent(type, initializer));
|
| + return adoptRef(new FocusEvent(type, initializer));
|
| }
|
|
|
| EventTarget* relatedTarget() const { return m_relatedTarget.get(); }
|
|
|