From a7ca970622a39dc28e0f623dcc8af93939a57b51 Mon Sep 17 00:00:00 2001 From: Chris Jones Date: Wed, 3 Mar 2010 23:02:55 -0600 Subject: [PATCH] Bug 441324, part 1: Shuffle around includes to avoid problems with #define malloc et al. r=bsmedberg --- content/base/src/nsScriptLoader.cpp | 2 +- content/xul/document/src/nsXULContentSink.cpp | 2 +- dom/base/nsDOMClassInfo.cpp | 14 +++++++------- dom/base/nsJSEnvironment.cpp | 2 +- dom/src/threads/nsDOMThreadService.cpp | 3 ++- .../activex/src/plugin/LegacyPlugin.cpp | 5 +++-- js/ctypes/Function.cpp | 2 +- js/jsd/jsd_xpc.cpp | 2 +- js/src/xpconnect/shell/xpcshell.cpp | 10 ++++------ js/src/xpconnect/src/qsgen.py | 5 +++++ js/src/xpconnect/src/xpcJSWeakReference.cpp | 2 +- js/src/xpconnect/src/xpcprivate.h | 16 ++++++++-------- js/src/xpconnect/tests/TestXPC.cpp | 6 +++--- modules/plugin/base/src/nsJSNPRuntime.cpp | 6 +++--- modules/plugin/base/src/nsNPAPIPlugin.cpp | 5 +++-- .../components/remote/nsGTKRemoteService.cpp | 18 ------------------ xpinstall/src/nsXPITriggerInfo.cpp | 2 +- 17 files changed, 45 insertions(+), 57 deletions(-) diff --git a/content/base/src/nsScriptLoader.cpp b/content/base/src/nsScriptLoader.cpp index b31c5478b6f1..3d8a4ab835a7 100644 --- a/content/base/src/nsScriptLoader.cpp +++ b/content/base/src/nsScriptLoader.cpp @@ -41,6 +41,7 @@ * A class that handles loading and evaluation of