Title: [99431] trunk/Source/WebCore
Revision
99431
Author
[email protected]
Date
2011-11-07 09:16:18 -0800 (Mon, 07 Nov 2011)

Log 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:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (99430 => 99431)


--- trunk/Source/WebCore/ChangeLog	2011-11-07 17:15:36 UTC (rev 99430)
+++ trunk/Source/WebCore/ChangeLog	2011-11-07 17:16:18 UTC (rev 99431)
@@ -1,3 +1,19 @@
+2011-11-07  Dominic Cooney  <[email protected]>
+
+        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  <[email protected]>
 
         Web Inspector: TextPrompt+SuggestBox should autocomplete on "Right" keydown and with a single suggestion in place

Modified: trunk/Source/WebCore/dom/PageTransitionEvent.cpp (99430 => 99431)


--- trunk/Source/WebCore/dom/PageTransitionEvent.cpp	2011-11-07 17:15:36 UTC (rev 99430)
+++ trunk/Source/WebCore/dom/PageTransitionEvent.cpp	2011-11-07 17:16:18 UTC (rev 99431)
@@ -56,19 +56,6 @@
 {
 }
 
-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;

Modified: trunk/Source/WebCore/dom/PageTransitionEvent.h (99430 => 99431)


--- trunk/Source/WebCore/dom/PageTransitionEvent.h	2011-11-07 17:15:36 UTC (rev 99430)
+++ trunk/Source/WebCore/dom/PageTransitionEvent.h	2011-11-07 17:16:18 UTC (rev 99431)
@@ -53,11 +53,6 @@
 
     virtual ~PageTransitionEvent();
 
-    void initPageTransitionEvent(const AtomicString& type, 
-                                 bool canBubbleArg,
-                                 bool cancelableArg,
-                                 bool persisted);
-
     virtual const AtomicString& interfaceName() const;
 
     bool persisted() const { return m_persisted; }

Modified: trunk/Source/WebCore/dom/PageTransitionEvent.idl (99430 => 99431)


--- trunk/Source/WebCore/dom/PageTransitionEvent.idl	2011-11-07 17:15:36 UTC (rev 99430)
+++ trunk/Source/WebCore/dom/PageTransitionEvent.idl	2011-11-07 17:16:18 UTC (rev 99431)
@@ -29,13 +29,7 @@
         CanBeConstructed,
         CustomConstructor
     ] PageTransitionEvent : Event {
-
         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);
     };
 
 }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to