From 3f6f02c354c8bcd9ec837544a87948e9403fa656 Mon Sep 17 00:00:00 2001 From: roytam1 Date: Fri, 19 Mar 2021 12:06:36 +0800 Subject: [PATCH] kplugins: fix build after landing "Bug 1182516 - Add Chaos Mode environment variable MOZ_CHAOSMODE. r=roc" in GRE --- k-meleon/kplugins/jsbridge/jsplugin.cpp | 1 + k-meleon/kplugins/spellcheck/spellcheck.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/k-meleon/kplugins/jsbridge/jsplugin.cpp b/k-meleon/kplugins/jsbridge/jsplugin.cpp index 06b16f90..26bd1db9 100644 --- a/k-meleon/kplugins/jsbridge/jsplugin.cpp +++ b/k-meleon/kplugins/jsbridge/jsplugin.cpp @@ -276,6 +276,7 @@ namespace mozilla { namespace detail { Atomic gChaosModeCounter(0); +ChaosFeature gChaosFeatures = None; } /* namespace detail */ } /* namespace mozilla */ diff --git a/k-meleon/kplugins/spellcheck/spellcheck.cpp b/k-meleon/kplugins/spellcheck/spellcheck.cpp index 1c0354d2..0ae058c4 100644 --- a/k-meleon/kplugins/spellcheck/spellcheck.cpp +++ b/k-meleon/kplugins/spellcheck/spellcheck.cpp @@ -921,6 +921,7 @@ namespace mozilla { namespace detail { Atomic gChaosModeCounter(0); +ChaosFeature gChaosFeatures = None; } /* namespace detail */ } /* namespace mozilla */