Bug 1663365 - Move DOM proxy-related details (including expand support) to separate headers out of jsfriendapi.h. r=jandem

Differential Revision: https://phabricator.services.mozilla.com/D89336
This commit is contained in:
Jeff Walden
2020-09-08 22:57:14 +00:00
parent 6ba4898d7b
commit 06de8f4ca7
17 changed files with 221 additions and 129 deletions

View File

@@ -21,7 +21,7 @@
#include "nsInterfaceHashtable.h"
#include "nsRefPtrHashtable.h"
#include "nsDataHashtable.h"
#include "jsfriendapi.h" // For js::ExpandoAndGeneration
#include "js/friend/DOMProxy.h" // JS::ExpandoAndGeneration
class nsIMutableArray;
class nsIURI;
@@ -398,7 +398,7 @@ class HTMLFormElement final : public nsGenericHTMLElement,
nsIContent* aForm);
#endif
js::ExpandoAndGeneration mExpandoAndGeneration;
JS::ExpandoAndGeneration mExpandoAndGeneration;
protected:
virtual JSObject* WrapNode(JSContext* aCx,