-
Couldn't load subscription status.
- Fork 6k
Remove unused Counter and CounterValues class. #31130
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm pending test exemption
|
test-exempt: only code removal You may be interested in adjusting the bot in the flutter/cocoon repo to not say anything for patches that only involve code removal; it's already implemented that way for other flutter repos and it's fine to enable it for engine too. |
Nice! How to enable it into engine? |
* 7b26f7a Roll Skia from 32f7fa7bfef3 to c4ba48a7d8c3 (2 revisions) (flutter/engine#31139) * 312551e Revert "Revert engine (#31135)" (flutter/engine#31142) * e17ee4a Add constexpr endianness utilities to fml (flutter/engine#31118) * 4b55492 Remove unused Counter and CounterValues class. (flutter/engine#31130)
* 7b26f7a Roll Skia from 32f7fa7bfef3 to c4ba48a7d8c3 (2 revisions) (flutter/engine#31139) * 312551e Revert "Revert engine (flutter#31135)" (flutter/engine#31142) * e17ee4a Add constexpr endianness utilities to fml (flutter/engine#31118) * 4b55492 Remove unused Counter and CounterValues class. (flutter/engine#31130)
I checked in git blame and found that the
CounterandCounterValuesclass in instrumentation.h are they are not actually used anymore since 2016. So I think we can remove them.The
Visualize()method is duplicated between theCounterandStopwatchclass, and theCounteris not used anymore, so I think theCountercan be removed.And no tests are written because it's only a code removal. cc @Hixie ~
Pre-launch Checklist
writing and running engine tests.
///).