Bug 907605 - Remove BindingUtils.h include from PrimitiveConversions.h; r=bz

This commit is contained in:
Ms2ger 2013-08-22 08:34:48 +02:00
parent 97bb27fbf6
commit cedde1c419
3 changed files with 9 additions and 4 deletions

View File

@ -62,8 +62,6 @@ UnwrapArg(JSContext* cx, jsval v, Interface** ppArg,
return rv;
}
bool
ThrowErrorMessage(JSContext* aCx, const ErrNum aErrorNumber, ...);
bool
ThrowInvalidThis(JSContext* aCx, const JS::CallArgs& aArgs,
const ErrNum aErrorNumber,

View File

@ -18,6 +18,8 @@
#include "nsStringGlue.h"
#include "mozilla/Assertions.h"
struct JSContext;
namespace mozilla {
namespace dom {
@ -30,6 +32,9 @@ enum ErrNum {
Err_Limit
};
bool
ThrowErrorMessage(JSContext* aCx, const ErrNum aErrorNumber, ...);
} // namespace dom
class ErrorResult {

View File

@ -13,10 +13,12 @@
#include <limits>
#include <math.h>
#include <stdint.h>
#include "jsapi.h"
#include "mozilla/Assertions.h"
#include "mozilla/dom/BindingUtils.h"
#include "mozilla/ErrorResult.h"
#include "mozilla/FloatingPoint.h"
#include "xpcpublic.h"
namespace mozilla {
namespace dom {