mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 15:25:52 +00:00
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:
parent
22ee12770e
commit
37fcd9834c
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user