Remove initPageTransitionEvent method
authordominicc@chromium.org <dominicc@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Nov 2011 17:16:18 +0000 (17:16 +0000)
committerdominicc@chromium.org <dominicc@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Nov 2011 17:16:18 +0000 (17:16 +0000)
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@99431 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/dom/PageTransitionEvent.cpp
Source/WebCore/dom/PageTransitionEvent.h
Source/WebCore/dom/PageTransitionEvent.idl

index 1a32cf7..3d30e8c 100644 (file)
@@ -1,3 +1,19 @@
+2011-11-07  Dominic Cooney  <dominicc@chromium.org>
+
+        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:
+
 2011-11-07  Alexander Pavlov  <apavlov@chromium.org>
 
         Web Inspector: TextPrompt+SuggestBox should autocomplete on "Right" keydown and with a single suggestion in place
 2011-11-07  Alexander Pavlov  <apavlov@chromium.org>
 
         Web Inspector: TextPrompt+SuggestBox should autocomplete on "Right" keydown and with a single suggestion in place
index 036edb3..fa42d0c 100644 (file)
@@ -56,19 +56,6 @@ PageTransitionEvent::~PageTransitionEvent()
 {
 }
 
 {
 }
 
-void PageTransitionEvent::initPageTransitionEvent(const AtomicString& type, 
-                                            bool canBubbleArg,
-                                            bool cancelableArg,
-                                            bool persisted)
-{
-    if (dispatched())
-        return;
-
-    initEvent(type, canBubbleArg, cancelableArg);
-
-    m_persisted = persisted;
-}
-
 const AtomicString& PageTransitionEvent::interfaceName() const
 {
     return eventNames().interfaceForPageTransitionEvent;
 const AtomicString& PageTransitionEvent::interfaceName() const
 {
     return eventNames().interfaceForPageTransitionEvent;
index e77ab6a..434b4ee 100644 (file)
@@ -53,11 +53,6 @@ public:
 
     virtual ~PageTransitionEvent();
 
 
     virtual ~PageTransitionEvent();
 
-    void initPageTransitionEvent(const AtomicString& type, 
-                                 bool canBubbleArg,
-                                 bool cancelableArg,
-                                 bool persisted);
-
     virtual const AtomicString& interfaceName() const;
 
     bool persisted() const { return m_persisted; }
     virtual const AtomicString& interfaceName() const;
 
     bool persisted() const { return m_persisted; }
index 9bc6bac..924dfc7 100644 (file)
@@ -29,13 +29,7 @@ module events {
         CanBeConstructed,
         CustomConstructor
     ] PageTransitionEvent : Event {
         CanBeConstructed,
         CustomConstructor
     ] PageTransitionEvent : Event {
-
         readonly attribute boolean persisted;
         readonly attribute boolean persisted;
-
-        void initPageTransitionEvent(in [Optional=CallWithDefaultValue] DOMString typeArg,
-                                     in [Optional=CallWithDefaultValue] boolean canBubbleArg,
-                                     in [Optional=CallWithDefaultValue] boolean cancelableArg,
-                                     in [Optional=CallWithDefaultValue] boolean persisted);
     };
 
 }
     };
 
 }