Simplify end-resolution in SVGSMILElement::ResolveInterval
* FindInstanceTime(kEnd, ...) will return "indefinite" for an empty, so always call that. * Sink the call to ResolveActiveEnd(...) since it can be shared between the two cases. * Drop the redundant "!end_times_.IsEmpty()" check. Bug: 998526 Change-Id: Idf6431e4313ee9ebec917759dba10c457443aa97 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1813502Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#698401}
Showing
Please register or sign in to comment