Chromium Code Reviews
Description[memory-infra] Move 'infos' field from Attribute to MemoryAllocatorDump
We want to switch from the memory-infra-specific Attribute class to the
Catapult-wide tr.v.ScalarNumeric class in the near future. The latter
does not support infos and the feature is currently only used for
warnings about the 'size' attribute anyway, so we're moving infos to the
associated MemoryAllocatorDump:
dump.attrs['size'].infos ----> dump.infos
This also allows us to remove the unnecessary attribute cloning methods
(the list of infos used to be modified in the UI) since attributes are
now treated as immutable (just like numerics).
BUG=catapult:#1928
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/00ce707f6ced1c7bb35315fc23a446d4a0643f9c
Patch Set 1 #
Total comments: 2
Patch Set 2 : Address Primiano's comment #
Depends on Patchset: Messages
Total messages: 10 (5 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||