summaryrefslogtreecommitdiffstats
path: root/js/ipc/JavaScriptShared.h
diff options
context:
space:
mode:
authorwin7-7 <win7-7@users.noreply.github.com>2019-04-29 12:08:50 +0300
committerGitHub <noreply@github.com>2019-04-29 12:08:50 +0300
commitcf319d581ca94d304a1a9741a5466c96d9179ce6 (patch)
treef54c35c8893a301f0c135046246ff6f7aae1396a /js/ipc/JavaScriptShared.h
parentbb1fad0fa728c7e95c6e06dfae63254b2c2e2966 (diff)
downloadUXP-cf319d581ca94d304a1a9741a5466c96d9179ce6.tar
UXP-cf319d581ca94d304a1a9741a5466c96d9179ce6.tar.gz
UXP-cf319d581ca94d304a1a9741a5466c96d9179ce6.tar.lz
UXP-cf319d581ca94d304a1a9741a5466c96d9179ce6.tar.xz
UXP-cf319d581ca94d304a1a9741a5466c96d9179ce6.zip
Improve dead compartment collection js/ipc
Diffstat (limited to 'js/ipc/JavaScriptShared.h')
-rw-r--r--js/ipc/JavaScriptShared.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/ipc/JavaScriptShared.h b/js/ipc/JavaScriptShared.h
index 4de153826..d0cd4615b 100644
--- a/js/ipc/JavaScriptShared.h
+++ b/js/ipc/JavaScriptShared.h
@@ -96,6 +96,7 @@ class IdToObjectMap
bool add(ObjectId id, JSObject* obj);
JSObject* find(ObjectId id);
+ JSObject* findPreserveColor(ObjectId id);
void remove(ObjectId id);
void clear();
@@ -233,4 +234,4 @@ class JavaScriptShared : public CPOWManager
} // namespace jsipc
} // namespace mozilla
-#endif
+#endif \ No newline at end of file