diff options
Diffstat (limited to 'Source/WebCore/dom/ProgressEvent.cpp')
-rw-r--r-- | Source/WebCore/dom/ProgressEvent.cpp | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/Source/WebCore/dom/ProgressEvent.cpp b/Source/WebCore/dom/ProgressEvent.cpp index c8f830b0e..7978212f3 100644 --- a/Source/WebCore/dom/ProgressEvent.cpp +++ b/Source/WebCore/dom/ProgressEvent.cpp @@ -10,10 +10,10 @@ * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * - * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY + * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE COMPUTER, INC. OR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR @@ -26,26 +26,10 @@ #include "config.h" #include "ProgressEvent.h" -#include "EventNames.h" - namespace WebCore { -ProgressEventInit::ProgressEventInit() - : lengthComputable(false) - , loaded(0) - , total(0) -{ -} - -ProgressEvent::ProgressEvent() - : m_lengthComputable(false) - , m_loaded(0) - , m_total(0) -{ -} - -ProgressEvent::ProgressEvent(const AtomicString& type, const ProgressEventInit& initializer) - : Event(type, initializer) +ProgressEvent::ProgressEvent(const AtomicString& type, const Init& initializer, IsTrusted isTrusted) + : Event(type, initializer, isTrusted) , m_lengthComputable(initializer.lengthComputable) , m_loaded(initializer.loaded) , m_total(initializer.total) |