Changeset 99780 in webkit
- Timestamp:
- Nov 9, 2011, 4:11:52 PM (15 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 4 edited
-
ChangeLog (modified) (1 diff)
-
html/canvas/WebGLContextEvent.cpp (modified) (1 diff)
-
html/canvas/WebGLContextEvent.h (modified) (1 diff)
-
html/canvas/WebGLContextEvent.idl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r99778 r99780 1 2011-11-09 Dominic Cooney <dominicc@chromium.org> 2 3 Remove WebGLContextEvent.initEvent method 4 https://bugs.webkit.org/show_bug.cgi?id=71720 5 6 Reviewed by Adam Barth. 7 8 The WebGL spec calls this method initWebGLContextEvent, but it may 9 adopt a constructor instead. Deleting the initEvent method for now 10 since it is definitely wrong and we don't want people to come to 11 depend on it. 12 13 No new tests--removing untested code. 14 15 * html/canvas/WebGLContextEvent.cpp: 16 * html/canvas/WebGLContextEvent.h: 17 * html/canvas/WebGLContextEvent.idl: 18 1 19 2011-11-09 Anders Carlsson <andersca@apple.com> 2 20 -
trunk/Source/WebCore/html/canvas/WebGLContextEvent.cpp
r98044 r99780 45 45 } 46 46 47 void WebGLContextEvent::initEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage)48 {49 if (dispatched())50 return;51 52 Event::initEvent(type, canBubble, cancelable);53 m_statusMessage = statusMessage;54 }55 56 47 const AtomicString& WebGLContextEvent::interfaceName() const 57 48 { -
trunk/Source/WebCore/html/canvas/WebGLContextEvent.h
r98044 r99780 43 43 virtual ~WebGLContextEvent(); 44 44 45 void initEvent(const AtomicString& type, bool canBubble, bool cancelable, const String& statusMessage);46 47 45 const String& statusMessage() const { return m_statusMessage; } 48 46 -
trunk/Source/WebCore/html/canvas/WebGLContextEvent.idl
r91617 r99780 29 29 ] WebGLContextEvent : Event { 30 30 readonly attribute DOMString statusMessage; 31 [StrictTypeChecking] void initEvent(in [Optional=CallWithDefaultValue] DOMString eventTypeArg,32 in [Optional=CallWithDefaultValue] boolean canBubbleArg,33 in [Optional=CallWithDefaultValue] boolean cancelableArg,34 in [Optional=CallWithDefaultValue] DOMString statusMessageArg);35 31 }; 36 32 }
Note:
See TracChangeset
for help on using the changeset viewer.