summaryrefslogtreecommitdiff
path: root/www/firefox24/patches/patch-js_src_jscompartment.h
blob: 53883fa8077ea2601e0aa13f3ca07f8966f16632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-js_src_jscompartment.h,v 1.1 2013/11/03 04:51:59 ryoon Exp $

--- js/src/jscompartment.h.orig	2013-06-17 22:13:11.000000000 +0000
+++ js/src/jscompartment.h
@@ -396,9 +396,9 @@ class js::AutoDebugModeGC
             GC(rt, GC_NORMAL, JS::gcreason::DEBUG_MODE_GC);
     }
 
-    void scheduleGC(Zone *zone) {
+    void scheduleGC(JS::Zone *zone) {
         JS_ASSERT(!rt->isHeapBusy());
-        PrepareZoneForGC(zone);
+        JS::PrepareZoneForGC(zone);
         needGC = true;
     }
 };