mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 868130 - Move nsCxPusher into XPConnect. r=gabor
The JSContext stack is an XPConnect construction. In particular, there are situations where we want to manipulate it outside the lifetime of nsContentUtils but within the lifetime of the stack itself. In order to do this cleanly, it's helpful to use private XPConnect APIs. So the first step here is to move this into js/src/xpconnect, so that we can take advantage of the stuff in xpcprivate.h. --HG-- rename : content/base/src/nsCxPusher.cpp => js/xpconnect/src/nsCxPusher.cpp rename : content/base/public/nsCxPusher.h => js/xpconnect/src/nsCxPusher.h
This commit is contained in:
parent
54ef3d2952
commit
fbfc8f9abe
@ -41,7 +41,6 @@ EXPORTS += [
|
||||
'nsContentPolicyUtils.h',
|
||||
'nsContentUtils.h',
|
||||
'nsCopySupport.h',
|
||||
'nsCxPusher.h',
|
||||
'nsDOMFile.h',
|
||||
'nsDeprecatedOperationList.h',
|
||||
'nsDocElementCreatedNotificationRunner.h',
|
||||
|
@ -36,7 +36,6 @@ CPPSRCS = \
|
||||
nsCopySupport.cpp \
|
||||
nsCrossSiteListenerProxy.cpp \
|
||||
nsCSPService.cpp \
|
||||
nsCxPusher.cpp \
|
||||
nsDataDocumentContentPolicy.cpp \
|
||||
Attr.cpp \
|
||||
nsDOMAttributeMap.cpp \
|
||||
|
@ -15,6 +15,7 @@ MSVC_ENABLE_PGO := 1
|
||||
FORCE_STATIC_LIB = 1
|
||||
LIBXUL_LIBRARY = 1
|
||||
CPPSRCS = \
|
||||
nsCxPusher.cpp \
|
||||
nsScriptError.cpp \
|
||||
nsXPConnect.cpp \
|
||||
XPCCallContext.cpp \
|
||||
|
@ -10,6 +10,7 @@ EXPORTS += [
|
||||
'BackstagePass.h',
|
||||
'GeneratedEvents.h',
|
||||
'XPCJSMemoryReporter.h',
|
||||
'nsCxPusher.h',
|
||||
'qsObjectHelper.h',
|
||||
'xpcObjectHelper.h',
|
||||
'xpcpublic.h',
|
||||
|
Loading…
Reference in New Issue
Block a user