Have ElementRuleCollector keep match result vector as part object.

Simplify the representation of the matched results vector, keeping
the vector as a part object. The vector ends up being updated when
ElementRuleCollector is used, so lazily creating it gets in the
way of that. Not doing so also enables the prompt release of its
backing store with Oilpan, as it is an 'inline-capacity' vector.

In terms of performance, this brings Oilpan back on level terms
with non-Oilpan on blink_perf.layout:SimpleTextPathLineLayout,
undoing a 6% regression seen previously (linux.)

R=haraken@chromium.org,rune@opera.com
BUG=340522

Review URL: https://codereview.chromium.org/795043002

git-svn-id: svn://svn.chromium.org/blink/trunk@187007 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: daa861abaa43f29080efcd332ecc70c7ff15336b
  1. third_party/