DescriptionMake DocumentMarker::AllMarkers() automatically track list of types
Every time I try to add a new DocumentMarker, I get tripped up by this list
needing to be updated. If we write it like this, it will automatically start
including the new type, without any performance penalty.
BUG=707867
Review-Url: https://codereview.chromium.org/2857483002
Cr-Commit-Position: refs/heads/master@{#470029}
Committed: https://chromium.googlesource.com/chromium/src/+/b1bdbd3e0b51de1e6327e71d27e8b7425d475e04
Patch Set 1 #
Messages
Total messages: 16 (9 generated)
|