mozilla/nightlytt — pull request #123 by xabolcs (2013-03-13 23:36:02+00:00)
Title: Favor the new nsIFilePicker::ShowAsync method in saveScreenshot(). Fixes #112.

Fix for #112.

It introduces the needed callback and converts the `if` to be an early return to minimize the change.