mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
Clean out unnecessary #includes in Cocoa widget nsToolkit. b=325666 r=mento
This commit is contained in:
parent
2fd9c146b4
commit
f9fc621401
@ -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
|
||||
|
@ -36,20 +36,6 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "nsToolkit.h"
|
||||
#include "nsWidgetAtoms.h"
|
||||
|
||||
#include <Gestalt.h>
|
||||
#include <Appearance.h>
|
||||
|
||||
#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 <Cocoa/Cocoa.h>
|
||||
|
||||
//-------------------------------------------------------------------------
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user