Bug 888104 - Fix xpcshell linkage error on windows. r=me CLOSED TREE

This commit is contained in:
Bobby Holley 2013-07-02 16:34:33 -06:00
Родитель c81f1a24d5
Коммит e9b6ede2ec
2 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -139,6 +139,7 @@ AutoCxPusher::AutoCxPusher(JSContext* cx, bool allowNull) : mScriptIsRunning(fal
#endif
}
NS_EXPORT
AutoCxPusher::~AutoCxPusher()
{
// Leave the request before popping.

Просмотреть файл

@ -26,7 +26,8 @@ class MOZ_STACK_CLASS AutoCxPusher
{
public:
AutoCxPusher(JSContext *aCx, bool aAllowNull = false);
~AutoCxPusher();
// XPCShell uses an nsCxPusher, which contains an AutoCxPusher.
NS_EXPORT ~AutoCxPusher();
nsIScriptContext* GetScriptContext() { return mScx; }