Changeset 99299 in webkit


Ignore:
Timestamp:
Nov 4, 2011 11:11:47 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

Remove initMediaStreamEvent method
https://bugs.webkit.org/show_bug.cgi?id=71344

This method has been removed from the spec draft.
http://www.whatwg.org/specs/web-apps/current-work/multipage/video-conferencing-and-peer-to-peer-communication.html#mediastreamevent

Patch by Kaustubh Atrawalkar <Kaustubh Atrawalkar> on 2011-11-04
Reviewed by Adam Barth.

No new tests. Removed method.

  • mediastream/MediaStreamEvent.cpp:
  • mediastream/MediaStreamEvent.h:
  • mediastream/MediaStreamEvent.idl:
Location:
trunk/Source/WebCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r99298 r99299  
     12011-11-04  Kaustubh Atrawalkar  <kaustubh@motorola.com>
     2
     3        Remove initMediaStreamEvent method
     4        https://bugs.webkit.org/show_bug.cgi?id=71344
     5
     6        This method has been removed from the spec draft.
     7        http://www.whatwg.org/specs/web-apps/current-work/multipage/video-conferencing-and-peer-to-peer-communication.html#mediastreamevent
     8
     9        Reviewed by Adam Barth.
     10
     11        No new tests. Removed method.
     12
     13        * mediastream/MediaStreamEvent.cpp:
     14        * mediastream/MediaStreamEvent.h:
     15        * mediastream/MediaStreamEvent.idl:
     16
    1172011-11-04  Adam Barth  <abarth@webkit.org>
    218
  • trunk/Source/WebCore/mediastream/MediaStreamEvent.cpp

    r98196 r99299  
    5858}
    5959
    60 void MediaStreamEvent::initMediaStreamEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStream> stream)
    61 {
    62     if (dispatched())
    63         return;
    64 
    65     initEvent(type, canBubble, cancelable);
    66 
    67     m_stream = stream;
    68 }
    69 
    7060PassRefPtr<MediaStream> MediaStreamEvent::stream() const
    7161{
  • trunk/Source/WebCore/mediastream/MediaStreamEvent.h

    r98196 r99299  
    4242    static PassRefPtr<MediaStreamEvent> create(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStream>);
    4343
    44     void initMediaStreamEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<MediaStream>);
    45 
    4644    // From EventTarget.
    4745    virtual bool isMediaStreamEvent() const { return true; }
  • trunk/Source/WebCore/mediastream/MediaStreamEvent.idl

    r98196 r99299  
    3131    ] MediaStreamEvent : Event {
    3232       readonly attribute MediaStream stream;
    33 
    34        void initMediaStreamEvent(in [Optional=CallWithDefaultValue] DOMString typeArg,
    35                                  in [Optional=CallWithDefaultValue] boolean canBubbleArg,
    36                                  in [Optional=CallWithDefaultValue] boolean cancelableArg,
    37                                  in [Optional=CallWithDefaultValue] MediaStream streamArg);
    3833    };
    3934
Note: See TracChangeset for help on using the changeset viewer.