Bug 804789 - Fix commented out code cause by Bug 793955. r=bent
authorDoug Turner <dougt@dougt.org>
Mon, 29 Oct 2012 09:54:35 -0700
changeset 111771 324985f4c4eab978424b6b4af25cd17e07dddb6b
parent 111770 3a7226d6429b88fc2fd5c09ef31394f38ef96dcf
child 111814 f677f91c89c057cc63f40c94c7b52602724c91b5
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersbent
bugs804789, 793955
milestone19.0a1
Bug 804789 - Fix commented out code cause by Bug 793955. r=bent
dom/ipc/ContentParent.cpp
--- a/dom/ipc/ContentParent.cpp
+++ b/dom/ipc/ContentParent.cpp
@@ -1235,17 +1235,17 @@ ContentParent::GetOrCreateActorForBlob(n
 
   // XXX This is only safe so long as all blob implementations in our tree
   //     inherit nsDOMFileBase. If that ever changes then this will need to grow
   //     a real interface or something.
   const nsDOMFileBase* blob = static_cast<nsDOMFileBase*>(aBlob);
 
   BlobConstructorParams params;
 
-  if (blob->IsSizeUnknown() || /*blob->IsDateUnknown()*/ 0) {
+  if (blob->IsSizeUnknown() || blob->IsDateUnknown()) {
     // We don't want to call GetSize or GetLastModifiedDate
     // yet since that may stat a file on the main thread
     // here. Instead we'll learn the size lazily from the
     // other process.
     params = MysteryBlobConstructorParams();
   }
   else {
     nsString contentType;