Bug 1726737 - Part 9: Remove jsapi.h include from vm/Runtime.h. r=arai

Remove jsapi.h include from vm/Runtime.h and then fix any missing includes in
other files.

Differential Revision: https://phabricator.services.mozilla.com/D123200
This commit is contained in:
André Bargull 2021-08-20 18:10:36 +00:00
parent 0cf457e591
commit a7e69522d8
3 changed files with 3 additions and 2 deletions

View File

@ -12,6 +12,7 @@
#include "mozilla/Maybe.h"
#include "mozilla/MemoryReporting.h"
#include "jsapi.h"
#include "jstypes.h" // JS_PUBLIC_API
#include "ds/TraceableFifo.h"

View File

@ -18,6 +18,8 @@
#include <stddef.h>
#include "jsapi.h"
#include "builtin/Array.h"
#include "gc/Barrier.h"
#include "js/GCVariant.h"

View File

@ -22,8 +22,6 @@
#include <algorithm>
#include "jsapi.h"
#include "builtin/AtomicsObject.h"
#ifdef JS_HAS_INTL_API
# include "builtin/intl/SharedIntlData.h"