[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

commit-queue at webkit.org commit-queue at webkit.org
Wed Dec 22 14:28:04 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 9bc1a0cad3d626caee30930b7cc2f062d4c955e2
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Oct 10 02:15:58 2010 +0000

    2010-10-09  Eric Uhrhane  <ericu at chromium.org>
    
            Reviewed by Andreas Kling.
    
            FileWriter sends write event instead of progress event
            https://bugs.webkit.org/show_bug.cgi?id=47454
    
            No new tests; FileWriter tests will be added shortly, but currently
            there's no implementation capable of running them.
    
            * fileapi/FileWriter.cpp:
            (WebCore::FileWriter::didWrite):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@69463 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 3280b72..9b372fb 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,16 @@
+2010-10-09  Eric Uhrhane  <ericu at chromium.org>
+
+        Reviewed by Andreas Kling.
+
+        FileWriter sends write event instead of progress event
+        https://bugs.webkit.org/show_bug.cgi?id=47454
+
+        No new tests; FileWriter tests will be added shortly, but currently
+        there's no implementation capable of running them.
+
+        * fileapi/FileWriter.cpp:
+        (WebCore::FileWriter::didWrite):
+
 2010-10-09  Andreas Kling  <kling at webkit.org>
 
         Reviewed by Kenneth Rohde Christiansen.
diff --git a/WebCore/fileapi/FileWriter.cpp b/WebCore/fileapi/FileWriter.cpp
index 2943150..b9d9453 100644
--- a/WebCore/fileapi/FileWriter.cpp
+++ b/WebCore/fileapi/FileWriter.cpp
@@ -167,8 +167,9 @@ void FileWriter::didWrite(long long bytes, bool complete)
     m_position += bytes;
     if (m_position > m_length)
         m_length = m_position;
-    fireEvent(eventNames().writeEvent);
+    fireEvent(eventNames().progressEvent);
     if (complete) {
+        fireEvent(eventNames().writeEvent);
         m_readyState = DONE;
         fireEvent(eventNames().writeendEvent);
     }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list