Bug 1417309 - Remove the nscore.h include from basictypes.h. r?froydnj draft
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 15 Nov 2017 13:46:02 +0900
changeset 698010 4c30b099087df17ac4610ab3a319cc20a09173a1
parent 698009 d079edc94aa5014926cabf67dc210dfb423b0a03
child 698011 a3fc3b7b0018fe2c7a91e578ab0ff6a45ae6e2ef
push id89172
push userbmo:mh+mozilla@glandium.org
push dateWed, 15 Nov 2017 05:25:33 +0000
reviewersfroydnj
bugs1417309
milestone59.0a1
Bug 1417309 - Remove the nscore.h include from basictypes.h. r?froydnj This is a hack that was added back when the chromium ipc codebase was imported, but that shouldn't be required anymore. The mozalloc operator new is gotten through stl wrapping these days.
ipc/chromium/src/base/basictypes.h
--- a/ipc/chromium/src/base/basictypes.h
+++ b/ipc/chromium/src/base/basictypes.h
@@ -261,12 +261,9 @@ enum Ownership {
 //       explicit MyClass(base::LinkerInitialized x) {}
 // and invoked as
 //       static MyClass my_variable_name(base::LINKER_INITIALIZED);
 namespace base {
 enum LinkerInitialized { LINKER_INITIALIZED };
 }  // base
 
 
-#include "nscore.h"             // pick up mozalloc operator new() etc.
-
-
 #endif  // BASE_BASICTYPES_H_