diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index e47b0377d..59d05bb28 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -394,25 +394,11 @@ NS_METHOD GContentHandler::MIMEDoAction (void) if (mAction == CONTENT_ACTION_OPEN) { - if (mAppSupportScheme) - { - LaunchHelperApp (); - } - else - { - mLauncher->SaveToDisk (nsnull, PR_FALSE); - } + mLauncher->SaveToDisk (nsnull, PR_FALSE); } else if (mAction == CONTENT_ACTION_OPEN_TMP) { - if (mAppSupportScheme) - { - LaunchHelperApp (); - } - else - { - mLauncher->LaunchWithApplication (nsnull, PR_FALSE); - } + mLauncher->LaunchWithApplication (nsnull, PR_FALSE); } else if (mAction == CONTENT_ACTION_NONE) { |