Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Issue 1941403002: Make servicing of SMIL animations require a FrameView (Closed)

Created:
4 years, 7 months ago by fs
Modified:
4 years, 7 months ago
Reviewers:
Sami
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, krit, Eric Willigers, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make servicing of SMIL animations require a FrameView SMIL animations are not running (or even started) in inactive documents, and scheduling frames requires a FrameView. Hence it makes sense to move the call to SVGDocumentExtensions::serviceOnAnimationFrame into the block that requires a FrameView. Drop unused timestamp argument to SMILTimeContainer::serviceAnimations, and let that propagate all the way out to PageAnimator. Committed: https://crrev.com/a4afc11bf0f7caad494854d539c2e5bc11844496 Cr-Commit-Position: refs/heads/master@{#391244}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M third_party/WebKit/Source/core/page/PageAnimator.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGDocumentExtensions.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGDocumentExtensions.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/animation/SMILTimeContainer.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (3 generated)
fs
Don't know if you had any bug in mind for the TODO, but I didn't ...
4 years, 7 months ago (2016-05-03 12:26:14 UTC) #2
Sami
Requiring FrameViews for animating SMIL sounds fine to me. I think we might want to ...
4 years, 7 months ago (2016-05-03 13:17:12 UTC) #3
fs
On 2016/05/03 at 13:17:12, skyostil wrote: > Requiring FrameViews for animating SMIL sounds fine to ...
4 years, 7 months ago (2016-05-03 13:23:04 UTC) #4
Sami
On 2016/05/03 13:23:04, fs wrote: > SMIL animations are using the Document AnimationClock (just like ...
4 years, 7 months ago (2016-05-03 15:19:52 UTC) #5
fs
On 2016/05/03 at 15:19:52, skyostil wrote: > On 2016/05/03 13:23:04, fs wrote: > > SMIL ...
4 years, 7 months ago (2016-05-03 15:30:26 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1941403002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1941403002/1
4 years, 7 months ago (2016-05-03 15:32:31 UTC) #8
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 7 months ago (2016-05-03 15:38:35 UTC) #9
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 15:39:48 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a4afc11bf0f7caad494854d539c2e5bc11844496
Cr-Commit-Position: refs/heads/master@{#391244}

Powered by Google App Engine
This is Rietveld 408576698