Fix the build more.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Jan 2014 19:17:38 +0000 (19:17 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Jan 2014 19:17:38 +0000 (19:17 +0000)
* xml/XMLHttpRequestProgressEventThrottle.cpp:
(WebCore::XMLHttpRequestProgressEventThrottle::dispatchProgressEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@161896 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/xml/XMLHttpRequestProgressEventThrottle.cpp

index 38afb41..5df1c2b 100644 (file)
@@ -1,5 +1,12 @@
 2014-01-13  Alexey Proskuryakov  <ap@apple.com>
 
+        Fix the build more.
+
+        * xml/XMLHttpRequestProgressEventThrottle.cpp:
+        (WebCore::XMLHttpRequestProgressEventThrottle::dispatchProgressEvent):
+
+2014-01-13  Alexey Proskuryakov  <ap@apple.com>
+
         Fix the build.
 
         * xml/XMLHttpRequestProgressEventThrottle.cpp:
index 3b649e0..615e515 100644 (file)
@@ -102,7 +102,7 @@ void XMLHttpRequestProgressEventThrottle::dispatchEvent(PassRefPtr<Event> event)
 
 void XMLHttpRequestProgressEventThrottle::dispatchProgressEvent(const AtomicString &type)
 {
-    ASSERT(type == type == eventNames().loadstartEvent || type == eventNames().progressEvent || type == eventNames().loadEvent || type == eventNames().loadendEvent || type == eventNames().abortEvent || type == eventNames().errorEvent || type == eventNames().timeoutEvent);
+    ASSERT(type == eventNames().loadstartEvent || type == eventNames().progressEvent || type == eventNames().loadEvent || type == eventNames().loadendEvent || type == eventNames().abortEvent || type == eventNames().errorEvent || type == eventNames().timeoutEvent);
 
     if (type == eventNames().loadstartEvent) {
         m_lengthComputable = false;