From f9fc6214010761161221fe64fb2b2abc32bbaaf5 Mon Sep 17 00:00:00 2001 From: "joshmoz%gmail.com" Date: Fri, 3 Feb 2006 00:30:32 +0000 Subject: [PATCH] Clean out unnecessary #includes in Cocoa widget nsToolkit. b=325666 r=mento --- widget/src/cocoa/nsToolkit.h | 3 --- widget/src/cocoa/nsToolkit.mm | 14 -------------- 2 files changed, 17 deletions(-) diff --git a/widget/src/cocoa/nsToolkit.h b/widget/src/cocoa/nsToolkit.h index 8f5a4ae46340..6dfb90de28f1 100644 --- a/widget/src/cocoa/nsToolkit.h +++ b/widget/src/cocoa/nsToolkit.h @@ -40,8 +40,6 @@ #include "nsToolkitBase.h" -#include "nsCOMPtr.h" - /** * The toolkit abstraction is necessary because the message pump must * execute within the same thread that created the widget under Win32. @@ -79,5 +77,4 @@ protected: }; - #endif // TOOLKIT_H diff --git a/widget/src/cocoa/nsToolkit.mm b/widget/src/cocoa/nsToolkit.mm index 2a6081600c76..605c64e7a676 100644 --- a/widget/src/cocoa/nsToolkit.mm +++ b/widget/src/cocoa/nsToolkit.mm @@ -36,20 +36,6 @@ * ***** END LICENSE BLOCK ***** */ #include "nsToolkit.h" -#include "nsWidgetAtoms.h" - -#include -#include - -#include "nsIEventQueue.h" -#include "nsIEventQueueService.h" -#include "nsIServiceManager.h" -#include "nsIPref.h" - -// for some reason, this must come last. otherwise the appshell -// component fails to instantiate correctly at runtime. -#undef DARWIN -#import //------------------------------------------------------------------------- //