Bug 1003766, StopSyncLoopRunnable::Cancel should call base class Cancel. r=mrbkap.

This commit is contained in:
Ben Turner 2014-04-30 13:44:03 -07:00
parent aca898b7e3
commit 32b41bb825

View File

@ -399,9 +399,12 @@ NS_IMETHODIMP
StopSyncLoopRunnable::Cancel() StopSyncLoopRunnable::Cancel()
{ {
nsresult rv = Run(); nsresult rv = Run();
NS_ENSURE_SUCCESS(rv, rv); NS_WARN_IF(NS_FAILED(rv));
return NS_OK; nsresult rv2 = WorkerSyncRunnable::Cancel();
NS_WARN_IF(NS_FAILED(rv2));
return NS_FAILED(rv) ? rv : rv2;
} }
bool bool