RESOLVED FIXED 80514
[chromium] Times in the cc should be expressed in seconds.
https://bugs.webkit.org/show_bug.cgi?id=80514
Summary [chromium] Times in the cc should be expressed in seconds.
vollick
Reported 2012-03-07 07:57:36 PST
Milliseconds are used a lot -- seconds should be used instead.
Attachments
Patch (27.72 KB, patch)
2012-03-07 10:49 PST, vollick
no flags
Patch (27.37 KB, patch)
2012-03-07 12:06 PST, vollick
no flags
Patch (31.85 KB, patch)
2012-03-09 10:36 PST, vollick
no flags
Patch (35.30 KB, patch)
2012-03-17 12:22 PDT, vollick
no flags
vollick
Comment 1 2012-03-07 10:49:01 PST
James Robinson
Comment 2 2012-03-07 11:14:29 PST
Comment on attachment 130647 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=130647&action=review > Source/WebCore/platform/graphics/chromium/cc/CCDelayBasedTimeSource.cpp:36 > +PassRefPtr<CCDelayBasedTimeSource> CCDelayBasedTimeSource::create(double interval, double dummy, CCThread* thread) what's "dummy" for?
vollick
Comment 3 2012-03-07 12:06:40 PST
vollick
Comment 4 2012-03-07 12:09:31 PST
(In reply to comment #2) > (From update of attachment 130647 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=130647&action=review > > > Source/WebCore/platform/graphics/chromium/cc/CCDelayBasedTimeSource.cpp:36 > > +PassRefPtr<CCDelayBasedTimeSource> CCDelayBasedTimeSource::create(double interval, double dummy, CCThread* thread) > > what's "dummy" for? Sorry -- I was in the process of removing those (should be gone in the latest patch). I was just breaking signatures.
vollick
Comment 5 2012-03-09 10:36:15 PST
James Robinson
Comment 6 2012-03-09 12:53:06 PST
Comment on attachment 131060 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=131060&action=review Cool > Source/WebCore/platform/graphics/chromium/cc/CCDelayBasedTimeSource.cpp:96 > +double CCDelayBasedTimeSource::monotonicallyIncreasingTime() const we can probably just delete this function completely at this point
vollick
Comment 7 2012-03-09 12:58:10 PST
(In reply to comment #6) > (From update of attachment 131060 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=131060&action=review > > Cool > > > Source/WebCore/platform/graphics/chromium/cc/CCDelayBasedTimeSource.cpp:96 > > +double CCDelayBasedTimeSource::monotonicallyIncreasingTime() const > > we can probably just delete this function completely at this point I thought the same thing. The only reason I kept it around was because it is overridden in the test code to fake different monotonic times.
vollick
Comment 8 2012-03-15 07:50:28 PDT
(In reply to comment #7) > (In reply to comment #6) > > (From update of attachment 131060 [details] [details]) > > View in context: https://bugs.webkit.org/attachment.cgi?id=131060&action=review > > > > Cool > > > > > Source/WebCore/platform/graphics/chromium/cc/CCDelayBasedTimeSource.cpp:96 > > > +double CCDelayBasedTimeSource::monotonicallyIncreasingTime() const > > > > we can probably just delete this function completely at this point > > I thought the same thing. The only reason I kept it around was because it is overridden in the test code to fake different monotonic times. James, are you comfortable keeping this method around for testing purposes?
vollick
Comment 9 2012-03-17 12:22:55 PDT
Created attachment 132467 [details] Patch Freshened patch
James Robinson
Comment 10 2012-03-19 17:39:25 PDT
Comment on attachment 132467 [details] Patch Still looks good. Dunno if this will apply still, but worth a shot.
WebKit Review Bot
Comment 11 2012-03-19 19:16:05 PDT
Comment on attachment 132467 [details] Patch Clearing flags on attachment: 132467 Committed r111308: <http://trac.webkit.org/changeset/111308>
WebKit Review Bot
Comment 12 2012-03-19 19:16:09 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.