[gjs/wip/ptomato/mozjs38: 26/26] WIP - port me to master



commit cbdf0464c1a34b4976a03f0911594812c25a2b34
Author: Philip Chimento <philip endlessm com>
Date:   Wed Jan 25 18:18:09 2017 -0800

    WIP - port me to master

 gjs/jsapi-util-root.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gjs/jsapi-util-root.h b/gjs/jsapi-util-root.h
index de6feb4..c6db1cc 100644
--- a/gjs/jsapi-util-root.h
+++ b/gjs/jsapi-util-root.h
@@ -191,7 +191,7 @@ public:
     {
         gjs_debug_lifecycle(GJS_DEBUG_ROOT, "%p.reset()", this);
         if (!m_rooted) {
-            m_heap.set(js::GCMethods<T>::initial());
+            m_heap = js::GCMethods<T>::initial();
             return;
         }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]