Backed out changeset 96c20db25b6b (bug 1144214) for Android M4 bustage CLOSED TREE

This commit is contained in:
Nigel Babu 2015-03-18 11:48:41 +05:30
parent 54ce7cf07e
commit 47340db7f0

View File

@ -97,8 +97,11 @@ public:
MOZ_ASSERT(aResolver);
MOZ_ASSERT(aQuotaInfo.mDir);
// Note that since DeleteOrphanedBodyAction isn't used while the context is
// being initialized, we don't need to check for cancellation here.
if (IsCanceled()) {
// TODO: handle orphaned files (bug 1110446)
aResolver->Resolve(NS_ERROR_ABORT);
return;
}
nsCOMPtr<nsIFile> dbDir;
nsresult rv = aQuotaInfo.mDir->Clone(getter_AddRefs(dbDir));