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

Issue 2629463002: Refactor valuesForFrameRangeImpl (Closed)

Created:
3 years, 11 months ago by Raymond Toy
Modified:
3 years, 10 months ago
Reviewers:
hongchan
CC:
chromium-reviews, blink-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactor valuesForFrameRangeImpl This function is 766 lines long with complicated logic. Move each core subsection to its own function to make the overall logic clearer. BUG=675776 TEST=covered by existing tests Review-Url: https://codereview.chromium.org/2629463002 Cr-Commit-Position: refs/heads/master@{#450528} Committed: https://chromium.googlesource.com/chromium/src/+/abcc1f5eb8bb22bd603342f951dbd076c8491d3b

Patch Set 1 #

Patch Set 2 : Refactor more #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Patch Set 5 : Refactor more adding tuple and AutomationState #

Patch Set 6 : Make AutomationState const and add documentation #

Total comments: 14

Patch Set 7 : Address review comments #

Patch Set 8 : Fix unused variable error #

Unified diffs Side-by-side diffs Delta from patch set Stats (+957 lines, -635 lines) Patch
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h View 1 2 3 4 5 6 4 chunks +147 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp View 1 2 3 4 5 6 7 9 chunks +810 lines, -635 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
Raymond Toy
PTAL
3 years, 10 months ago (2017-02-10 20:12:43 UTC) #6
hongchan
Should we worried about the performance regression with std::tuple and std::tie? I don't really worry ...
3 years, 10 months ago (2017-02-10 23:37:29 UTC) #7
Raymond Toy
On 2017/02/10 23:37:29, hongchan wrote: > Should we worried about the performance regression with std::tuple ...
3 years, 10 months ago (2017-02-10 23:42:36 UTC) #8
Raymond Toy
https://codereview.chromium.org/2629463002/diff/100001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h (right): https://codereview.chromium.org/2629463002/diff/100001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h#newcode163 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h:163: const Vector<float>& curve() const { return m_curve; } On ...
3 years, 10 months ago (2017-02-10 23:52:36 UTC) #9
hongchan
On 2017/02/10 23:42:36, Raymond Toy wrote: > On 2017/02/10 23:37:29, hongchan wrote: > > Should ...
3 years, 10 months ago (2017-02-14 18:02:14 UTC) #10
hongchan
On 2017/02/10 23:52:36, Raymond Toy wrote: > https://codereview.chromium.org/2629463002/diff/100001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h > File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h (right): > > https://codereview.chromium.org/2629463002/diff/100001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.h#newcode163 ...
3 years, 10 months ago (2017-02-14 18:03:37 UTC) #11
Raymond Toy
On 2017/02/14 18:02:14, hongchan wrote: > On 2017/02/10 23:42:36, Raymond Toy wrote: > > On ...
3 years, 10 months ago (2017-02-14 18:29:15 UTC) #12
Raymond Toy
On 2017/02/14 18:29:15, Raymond Toy wrote: > On 2017/02/14 18:02:14, hongchan wrote: > > On ...
3 years, 10 months ago (2017-02-14 19:40:27 UTC) #13
Raymond Toy
https://codereview.chromium.org/2629463002/diff/100001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp File third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp (right): https://codereview.chromium.org/2629463002/diff/100001/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp#newcode875 third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp:875: // float k = deltaTime > 0 ? 1 ...
3 years, 10 months ago (2017-02-14 19:55:53 UTC) #14
hongchan
lgtm
3 years, 10 months ago (2017-02-14 20:01:26 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2629463002/120001
3 years, 10 months ago (2017-02-14 20:08:17 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/211924)
3 years, 10 months ago (2017-02-14 20:37:47 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2629463002/140001
3 years, 10 months ago (2017-02-14 21:17:29 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 00:39:51 UTC) #25
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/chromium/src/+/abcc1f5eb8bb22bd603342f951db...

Powered by Google App Engine
This is Rietveld 408576698