Bug 1479673 - Trivial return value change, r=jonco

JS::ubi::Concrete<T> inherits from JS::ubi::Base but not JS::ubi::Node, so the bare 'Size' in the class declaration refers to Base::Size, not Node::Size. (Note that they're the same underlying type.)

--HG--
extra : topic : gcstats.thresh
extra : rebase_source : 2dd9ccca9e458e4f10bdbb8aff58f08732e712c7
This commit is contained in:
Steve Fink 2018-07-11 16:58:23 -07:00
parent 22ee12770e
commit 37fcd9834c

View File

@ -4491,7 +4491,7 @@ JSScript::AutoDelazify::dropScript()
script_ = nullptr;
}
JS::ubi::Node::Size
JS::ubi::Base::Size
JS::ubi::Concrete<JSScript>::size(mozilla::MallocSizeOf mallocSizeOf) const
{
Size size = Arena::thingSize(get().asTenured().getAllocKind());