Commit d1f9d48e authored by Fredrik Söderquist's avatar Fredrik Söderquist Committed by Commit Bot

Remove dead method and member field from SVGSMILElement

SVGSMILElement::TriggerPendingEvents() and
SVGSMILElement::repeat_event_count_list_

are no longer used.

Bug: 998526
Change-Id: I79f58ffc434246d022bbc255d496ac492e7daaf6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1796668
Commit-Queue: Fredrik Söderquist <fs@opera.com>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/master@{#695961}
parent 71f7c54b
......@@ -1109,17 +1109,6 @@ bool SVGSMILElement::NeedsToProgress(double elapsed) {
return true;
}
void SVGSMILElement::TriggerPendingEvents(double elapsed) {
if (GetActiveState() == kInactive)
ScheduleEvent(event_type_names::kBeginEvent);
if (CalculateAnimationRepeat(elapsed))
ScheduleEvent(event_type_names::kRepeatEvent);
if (GetActiveState() == kInactive || GetActiveState() == kFrozen)
ScheduleEvent(event_type_names::kEndEvent);
}
void SVGSMILElement::UpdateSyncBases() {
if (!interval_has_changed_)
return;
......
......@@ -89,7 +89,6 @@ class CORE_EXPORT SVGSMILElement : public SVGElement, public SVGTests {
// next interval. Returns true if the interval was restarted.
bool CheckAndUpdateInterval(double elapsed);
void UpdateActiveState(double elapsed, bool interval_restart);
void TriggerPendingEvents(double elapsed);
void UpdateSyncBases();
SMILTime NextInterestingTime(double elapsed) const;
......@@ -291,8 +290,6 @@ class CORE_EXPORT SVGSMILElement : public SVGElement, public SVGTests {
Member<SMILTimeContainer> time_container_;
unsigned document_order_index_;
Vector<unsigned> repeat_event_count_list_;
mutable SMILTime cached_dur_;
mutable SMILTime cached_repeat_dur_;
mutable SMILTime cached_repeat_count_;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment