Issue #2692 - Part 6: Don't #include js/SourceBufferHolder.h in jsapi.h.

Instead, require users to do so. This is a minor translation-unit size
improvement for anyone who never has to use SourceBufferHolder other than
by reference.
This commit is contained in:
Moonchild 2025-03-04 20:16:54 +01:00 committed by roytam1
commit 2e4620b5af
28 changed files with 43 additions and 8 deletions

View file

@ -19,6 +19,7 @@
#include "jsapi.h"
#include "jsfriendapi.h"
#include "js/SourceBufferHolder.h"
#include "nsJSPrincipals.h"
#include "xpcprivate.h" // For xpc::OptionsBase
#include "jswrapper.h"