[piexwasm] Make PiexLoader a namespace
PiexLoader has no |this| properties at all: it's a namespace with one API called load() effectively, so no need to instance it with new. Do the simpler thing: make it a namespace [1]. No change in behavior. [1] See CL:2437316 review comments for the namespace discussion. Bug: 1132695 Change-Id: I10319ede41bbaeb0caa0c8bab6ff4b7701ff3081 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2437319Reviewed-by:Alex Danilo <adanilo@chromium.org> Reviewed-by:
Trent Apted <tapted@chromium.org> Commit-Queue: Noel Gordon <noel@chromium.org> Cr-Commit-Position: refs/heads/master@{#812489}
Showing
Please register or sign in to comment