| Index: Source/core/html/canvas/WebGLContextEvent.cpp
|
| diff --git a/Source/core/html/canvas/WebGLContextEvent.cpp b/Source/core/html/canvas/WebGLContextEvent.cpp
|
| index bceb93f829b53a95b0f4047d11dbe69a791504e4..6b2b1be5406b0b42c9321407eb3d665dc39d3376 100644
|
| --- a/Source/core/html/canvas/WebGLContextEvent.cpp
|
| +++ b/Source/core/html/canvas/WebGLContextEvent.cpp
|
| @@ -28,10 +28,6 @@
|
|
|
| namespace blink {
|
|
|
| -WebGLContextEventInit::WebGLContextEventInit()
|
| -{
|
| -}
|
| -
|
| WebGLContextEvent::WebGLContextEvent()
|
| {
|
| }
|
| @@ -44,8 +40,9 @@ WebGLContextEvent::WebGLContextEvent(const AtomicString& type, bool canBubble, b
|
|
|
| WebGLContextEvent::WebGLContextEvent(const AtomicString& type, const WebGLContextEventInit& initializer)
|
| : Event(type, initializer)
|
| - , m_statusMessage(initializer.statusMessage)
|
| {
|
| + if (initializer.hasStatusMessage())
|
| + m_statusMessage = initializer.statusMessage();
|
| }
|
|
|
| WebGLContextEvent::~WebGLContextEvent()
|
|
|