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

Issue 2570503002: Avoid conditional Animation prefinalizers. (Closed)

Created:
4 years ago by sof
Modified:
4 years ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, darktears, blink-reviews, Eric Willigers
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid conditional Animation prefinalizers. Recast the conditionally-eager finalization of Animation objects - only needed if the Animation object has a CompositorAnimationPlayer attached - wrapping instead the player object inside an eagerly-finalized object. By doing so, we remove the need to support explicit prefinalizer registration. R=haraken BUG=673645 Committed: https://crrev.com/4a50af8bd437d768140c896e644d4a3918c7f2d0 Cr-Commit-Position: refs/heads/master@{#438089}

Patch Set 1 #

Total comments: 5

Patch Set 2 : rebased upto r437900 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -19 lines) Patch
M third_party/WebKit/Source/core/animation/Animation.h View 1 4 chunks +29 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/animation/Animation.cpp View 1 6 chunks +35 lines, -15 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
sof
please take a look. see https://codereview.chromium.org/2565983002/#msg22 (and tha CL) for motivation.
4 years ago (2016-12-12 13:33:29 UTC) #4
haraken
LGTM https://codereview.chromium.org/2570503002/diff/1/third_party/WebKit/Source/core/animation/Animation.cpp File third_party/WebKit/Source/core/animation/Animation.cpp (right): https://codereview.chromium.org/2570503002/diff/1/third_party/WebKit/Source/core/animation/Animation.cpp#newcode1143 third_party/WebKit/Source/core/animation/Animation.cpp:1143: DCHECK(!m_animation); Hmm? You need to clear m_animation after ...
4 years ago (2016-12-12 15:33:29 UTC) #8
sof
https://codereview.chromium.org/2570503002/diff/1/third_party/WebKit/Source/core/animation/Animation.cpp File third_party/WebKit/Source/core/animation/Animation.cpp (right): https://codereview.chromium.org/2570503002/diff/1/third_party/WebKit/Source/core/animation/Animation.cpp#newcode1143 third_party/WebKit/Source/core/animation/Animation.cpp:1143: DCHECK(!m_animation); On 2016/12/12 15:33:29, haraken wrote: > > Hmm? ...
4 years ago (2016-12-12 15:41:22 UTC) #9
haraken
https://codereview.chromium.org/2570503002/diff/1/third_party/WebKit/Source/core/animation/Animation.cpp File third_party/WebKit/Source/core/animation/Animation.cpp (right): https://codereview.chromium.org/2570503002/diff/1/third_party/WebKit/Source/core/animation/Animation.cpp#newcode1143 third_party/WebKit/Source/core/animation/Animation.cpp:1143: DCHECK(!m_animation); On 2016/12/12 15:41:22, sof wrote: > On 2016/12/12 ...
4 years ago (2016-12-12 15:44:41 UTC) #10
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/2570503002/1
4 years ago (2016-12-12 15:49:44 UTC) #13
commit-bot: I haz the power
Failed to apply patch for third_party/WebKit/Source/core/animation/Animation.cpp: While running git apply --index -p1; error: patch failed: ...
4 years ago (2016-12-12 16:38:18 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/2570503002/20001
4 years ago (2016-12-12 18:16:37 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/277969)
4 years ago (2016-12-12 23:50:04 UTC) #20
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/2570503002/20001
4 years ago (2016-12-13 06:20:44 UTC) #22
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-13 07:08:53 UTC) #26
commit-bot: I haz the power
4 years ago (2016-12-13 07:15:13 UTC) #28
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4a50af8bd437d768140c896e644d4a3918c7f2d0
Cr-Commit-Position: refs/heads/master@{#438089}

Powered by Google App Engine
This is Rietveld 408576698