Fixing bug 279945. Prevent drag n' drop of images whose extensions don't map to image mimetypes. r=caillon@gmail.com, sr=dveditz@cruzio.com

This commit is contained in:
jst@mozilla.jstenback.com
2005-02-03 17:23:35 +00:00
parent ad121059c0
commit 95d279cf0a
7 changed files with 47 additions and 45 deletions

View File

@@ -123,7 +123,6 @@
#include "nsCSSLoader.h"
#include "nsXULAtoms.h"
#include "nsLayoutCID.h"
#include "nsImageLoadingContent.h"
#include "nsStyleSet.h"
#include "nsImageFrame.h"
#include "nsILanguageAtomService.h"
@@ -336,8 +335,6 @@ Initialize(nsIModule* aSelf)
return rv;
}
nsImageLoadingContent::Initialize();
// Add our shutdown observer.
nsCOMPtr<nsIObserverService> observerService =
do_GetService("@mozilla.org/observer-service;1");
@@ -429,7 +426,6 @@ Shutdown()
nsContentUtils::Shutdown();
nsLayoutStylesheetCache::Shutdown();
NS_NameSpaceManagerShutdown();
nsImageLoadingContent::Shutdown();
nsStyleSet::FreeGlobals();
nsGlobalWindow::ShutDown();