Changeset 99431 in webkit


Ignore:
Timestamp:
Nov 7, 2011 9:16:18 AM (12 years ago)
Author:
dominicc@chromium.org
Message:

Remove initPageTransitionEvent method
https://bugs.webkit.org/show_bug.cgi?id=71689

Reviewed by Ojan Vafai.

initPageTransitionEvent was removed from the HTML spec; it has
been replaced by new PageTransitionEvent(...).

Removing a method, so no new tests.

  • dom/PageTransitionEvent.cpp:
  • dom/PageTransitionEvent.h:
  • dom/PageTransitionEvent.idl:
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r99430 r99431  
     12011-11-07  Dominic Cooney  <dominicc@chromium.org>
     2
     3        Remove initPageTransitionEvent method
     4        https://bugs.webkit.org/show_bug.cgi?id=71689
     5
     6        Reviewed by Ojan Vafai.
     7
     8        initPageTransitionEvent was removed from the HTML spec; it has
     9        been replaced by new PageTransitionEvent(...).
     10
     11        Removing a method, so no new tests.
     12
     13        * dom/PageTransitionEvent.cpp:
     14        * dom/PageTransitionEvent.h:
     15        * dom/PageTransitionEvent.idl:
     16
    1172011-11-07  Alexander Pavlov  <apavlov@chromium.org>
    218
  • trunk/Source/WebCore/dom/PageTransitionEvent.cpp

    r98044 r99431  
    5757}
    5858
    59 void PageTransitionEvent::initPageTransitionEvent(const AtomicString& type,
    60                                             bool canBubbleArg,
    61                                             bool cancelableArg,
    62                                             bool persisted)
    63 {
    64     if (dispatched())
    65         return;
    66 
    67     initEvent(type, canBubbleArg, cancelableArg);
    68 
    69     m_persisted = persisted;
    70 }
    71 
    7259const AtomicString& PageTransitionEvent::interfaceName() const
    7360{
  • trunk/Source/WebCore/dom/PageTransitionEvent.h

    r98146 r99431  
    5454    virtual ~PageTransitionEvent();
    5555
    56     void initPageTransitionEvent(const AtomicString& type,
    57                                  bool canBubbleArg,
    58                                  bool cancelableArg,
    59                                  bool persisted);
    60 
    6156    virtual const AtomicString& interfaceName() const;
    6257
  • trunk/Source/WebCore/dom/PageTransitionEvent.idl

    r96788 r99431  
    3030        CustomConstructor
    3131    ] PageTransitionEvent : Event {
    32 
    3332        readonly attribute boolean persisted;
    34 
    35         void initPageTransitionEvent(in [Optional=CallWithDefaultValue] DOMString typeArg,
    36                                      in [Optional=CallWithDefaultValue] boolean canBubbleArg,
    37                                      in [Optional=CallWithDefaultValue] boolean cancelableArg,
    38                                      in [Optional=CallWithDefaultValue] boolean persisted);
    3933    };
    4034
Note: See TracChangeset for help on using the changeset viewer.