From 2a67795e0a1bb8080e95a678d64b201e79ec6223 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 12 May 2019 15:38:45 -0300 Subject: testing/mozjs60: remove leftovers, is in main/ --- testing/mozjs60/add-exposeToActiveJS.patch | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 testing/mozjs60/add-exposeToActiveJS.patch (limited to 'testing/mozjs60/add-exposeToActiveJS.patch') diff --git a/testing/mozjs60/add-exposeToActiveJS.patch b/testing/mozjs60/add-exposeToActiveJS.patch deleted file mode 100644 index 7736e4ce68..0000000000 --- a/testing/mozjs60/add-exposeToActiveJS.patch +++ /dev/null @@ -1,24 +0,0 @@ -Upstream: Yes -Reason: Required for GJS -# HG changeset patch -# User Philip Chimento -# Date 1527544053 25200 -# Mon May 28 14:47:33 2018 -0700 -# Node ID a50e7374d0952b893f843e9d21d13d5b7ec8564c -# Parent a466172aed4bc2afc21169b749b8068a4b98c93f -Bug 1464912 - Add exposeToActiveJS specialization for JSString. r=sfink - -diff --git a/js/public/RootingAPI.h b/js/public/RootingAPI.h ---- a/js/public/RootingAPI.h -+++ b/js/public/RootingAPI.h -@@ -719,6 +719,10 @@ struct BarrierMethods - static void postBarrier(JSString** vp, JSString* prev, JSString* next) { - JS::HeapStringPostBarrier(vp, prev, next); - } -+ static void exposeToJS(JSString* v) { -+ if (v) -+ js::gc::ExposeGCThingToActiveJS(JS::GCCellPtr(v)); -+ } - }; - - // Provide hash codes for Cell kinds that may be relocated and, thus, not have -- cgit v1.2.3