commit | f40305cceb5604e37a6e6a14abab589bbc42235a | [log] [tgz] |
---|---|---|
author | fs@opera.com <fs@opera.com> | Fri Feb 20 08:32:04 2015 |
committer | fs@opera.com <fs@opera.com> | Fri Feb 20 08:32:04 2015 |
tree | 2d501b44c6d4c31a2a0f61642e98a868a7278274 | |
parent | a56bfde925ddf46c240b24c0698c7dda8d93aba1 [diff] |
Avoid shadowing local |event| in CueTimeline::updateActiveCues Dispatching to the track element would declare an |event| in its scope that would shadow an |event| in the parent scope. Avoid this by moving the event-creation-for-a-target to a small helper function and then use that for all scheduling of events in this method. BUG=321654 Review URL: https://codereview.chromium.org/935423002 git-svn-id: svn://svn.chromium.org/blink/trunk@190543 bbb929c8-8fbe-4397-9dbb-9b2b20218538