Bug 1292289, part 1 - Stop unnecessarily using xpcprivate in XPCWrapper.h. r=mrbkap

This file is included in caps/, but it only uses generic JS things,
aside from a macro.

AccessCheck.cpp was bootlegging xpcprivate.h.

MozReview-Commit-ID: C6fGOFxsTvg

--HG--
extra : rebase_source : bd5e7bf9010acf83ccab8ce6cce77a557ad76196
This commit is contained in:
Andrew McCreight 2016-08-04 11:14:35 -07:00
parent e369632118
commit d2be3b7515
2 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,7 @@
#ifndef XPC_WRAPPER_H
#define XPC_WRAPPER_H 1
#include "xpcprivate.h"
#include "jswrapper.h"
#include "js/TypeDecls.h"
namespace XPCNativeWrapper {

View File

@ -19,6 +19,7 @@
#include "mozilla/jsipc/CrossProcessObjectWrappers.h"
#include "nsIDOMWindowCollection.h"
#include "nsJSUtils.h"
#include "xpcprivate.h"
using namespace mozilla;
using namespace JS;