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

Issue 298043005: Improve comparison of intervals in SVGSMILElement::resolveFirstInterval (Closed)

Created:
6 years, 7 months ago by fs
Modified:
6 years, 6 months ago
Reviewers:
pdr.
CC:
blink-reviews, ed+blinkwatch_opera.com, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, rwlbuis, kouhei+svg_chromium.org, dstockwell, Timothy Loh, krit, f(malita), gyuyoung.kim_webkit.org, darktears, Stephen Chennney, Steve Block, pdr., Eric Willigers
Visibility:
Public.

Description

Improve comparison of intervals in SVGSMILElement::resolveFirstInterval For open-ended intervals such as [3) - i.e. begin=3s and end/duration/etc unspecified - every call to resolveFirstInterval() would think that a new interval had been created, and notify/require a reschedule of the animations. Add a new type SMILInterval and a suitable operator for that, and then use it to compare the raw values (i.e. if both endpoints are exacly the same.) BUG=377329 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175122

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -7 lines) Patch
M Source/core/svg/animation/SMILTime.h View 2 chunks +15 lines, -0 lines 2 comments Download
M Source/core/svg/animation/SVGSMILElement.cpp View 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
pdr.
This seems like a good patch. Is it up for review?
6 years, 6 months ago (2014-05-27 22:07:34 UTC) #1
fs
On 2014/05/27 22:07:34, pdr wrote: > This seems like a good patch. Is it up ...
6 years, 6 months ago (2014-05-28 07:47:58 UTC) #2
fs
...and now it is.
6 years, 6 months ago (2014-05-28 07:48:17 UTC) #3
pdr.
LGTM https://codereview.chromium.org/298043005/diff/1/Source/core/svg/animation/SMILTime.h File Source/core/svg/animation/SMILTime.h (right): https://codereview.chromium.org/298043005/diff/1/Source/core/svg/animation/SMILTime.h#newcode107 Source/core/svg/animation/SMILTime.h:107: // Compare the "raw" values since the operator!= ...
6 years, 6 months ago (2014-05-28 21:56:24 UTC) #4
fs
https://codereview.chromium.org/298043005/diff/1/Source/core/svg/animation/SMILTime.h File Source/core/svg/animation/SMILTime.h (right): https://codereview.chromium.org/298043005/diff/1/Source/core/svg/animation/SMILTime.h#newcode107 Source/core/svg/animation/SMILTime.h:107: // Compare the "raw" values since the operator!= for ...
6 years, 6 months ago (2014-05-30 08:02:46 UTC) #5
fs
The CQ bit was checked by fs@opera.com
6 years, 6 months ago (2014-05-30 08:03:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fs@opera.com/298043005/1
6 years, 6 months ago (2014-05-30 08:03:57 UTC) #7
commit-bot: I haz the power
6 years, 6 months ago (2014-05-30 13:08:48 UTC) #8
Message was sent while issue was closed.
Change committed as 175122

Powered by Google App Engine
This is Rietveld 408576698