This appears to be the only call to `getLegendSymbol`, so it could probably be inlined