DevTools: console.timelineEnd event is not shown on timeline if timeline is stopped after it and record stack is not empty.

R=pfeldman, caseq

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162021 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSSGrammar.y refactoring (media:).

Preparation for https://codereview.chromium.org/71623002/

BUG=317499

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

git-svn-id: svn://svn.chromium.org/blink/trunk@162022 bbb929c8-8fbe-4397-9dbb-9b2b20218538