summaryrefslogtreecommitdiffstats
path: root/js/src/jsobj.h
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2019-06-08 19:23:13 -0400
committerGaming4JC <g4jc@hyperbola.info>2019-07-18 22:38:23 -0400
commit2d1d2cefbbaff4b0380bfbcdab4631a1dcf142af (patch)
treeb000db4b2f39757464a6607e34b0eb5132e72e39 /js/src/jsobj.h
parentaf6768fb1f2e44b0bfe4136c79d8031028d073b1 (diff)
downloadUXP-2d1d2cefbbaff4b0380bfbcdab4631a1dcf142af.tar
UXP-2d1d2cefbbaff4b0380bfbcdab4631a1dcf142af.tar.gz
UXP-2d1d2cefbbaff4b0380bfbcdab4631a1dcf142af.tar.lz
UXP-2d1d2cefbbaff4b0380bfbcdab4631a1dcf142af.tar.xz
UXP-2d1d2cefbbaff4b0380bfbcdab4631a1dcf142af.zip
1320408 - Part 5: Change JSObject::constructorDisplayAtom to static method.
Diffstat (limited to 'js/src/jsobj.h')
-rw-r--r--js/src/jsobj.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/jsobj.h b/js/src/jsobj.h
index aa4070556..49b7c5e8e 100644
--- a/js/src/jsobj.h
+++ b/js/src/jsobj.h
@@ -288,7 +288,8 @@ class JSObject : public js::gc::Cell
* If this object was instantiated with `new Ctor`, return the constructor's
* display atom. Otherwise, return nullptr.
*/
- bool constructorDisplayAtom(JSContext* cx, js::MutableHandleAtom name);
+ static bool constructorDisplayAtom(JSContext* cx, js::HandleObject obj,
+ js::MutableHandleAtom name);
/*
* The same as constructorDisplayAtom above, however if this object has a