Reland "[PE] Don't reparse "restart" and "fill" repeatedly"
Rather than doing an attribute lookup in GetRestart() and Fill(), just map the attributes in ParseAttribute. Pack with active_state_. Also get rid of the static AtomicStrings. Noticed while looking at the referenced bug. Use new accessor GetActiveState() for active_state_ accesses to avoid stumbling over signedness mismatches. Bug: 823473 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I9adf72cdfcc794885b79be1bfc374554f9382d11 Reviewed-on: https://chromium-review.googlesource.com/979807Reviewed-by:Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#545786}
Showing
Please register or sign in to comment