aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla')
-rw-r--r--embed/mozilla/MozDownload.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp
index 96f5ac38b..2c7be9a07 100644
--- a/embed/mozilla/MozDownload.cpp
+++ b/embed/mozilla/MozDownload.cpp
@@ -91,6 +91,8 @@ MozDownload::Init(nsIURI *aSource, nsILocalFile *aTarget, const PRUnichar *aDisp
mSource = aSource;
mDestination = aTarget;
mStartTime = startTime;
+ mTotalProgress = 0;
+ mCurrentProgress = 0;
mPercentComplete = 0;
mInterval = 4000; /* in ms */
mLastUpdate = mStartTime;