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

Issue 1477113003: [Oilpan] Move ScrollAnimators onto oilpan heap (Closed)

Created:
5 years ago by peria
Modified:
5 years ago
Reviewers:
oilpan-reviews, haraken
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, darktears, blink-reviews, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move ScrollAnimatorBase and ProgrammaticScrollAnimator onto oilpan heap. Beside it, I removed a redundant struct ScrollableAreaAnimators in ScrollableArea. BUG=550325 Committed: https://crrev.com/8e25ffb821fc66cbca271b2ca5b7b1908811f977 Cr-Commit-Position: refs/heads/master@{#363117}

Patch Set 1 : #

Patch Set 2 : Move ProgrammaticScrollAnimator #

Total comments: 4

Patch Set 3 : Remove ENABLE(OILPAN) #

Patch Set 4 : Fix compile on Mac #

Patch Set 5 : Call trace of superclass #

Patch Set 6 : Stop timers on Mac #

Patch Set 7 : Rename #

Total comments: 2

Patch Set 8 : Do not touch on-heap objects in destructors #

Total comments: 10

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : Make AnimatorBase NoBaseWillBeGarbageCollectedFinalized #

Total comments: 6

Patch Set 12 : #

Total comments: 2

Patch Set 13 : rename #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -47 lines) Patch
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm View 1 2 3 4 5 6 7 8 9 10 11 12 4 chunks +15 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +7 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimator.h View 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimator.cpp View 1 2 3 4 5 6 7 8 9 10 2 chunks +8 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.h View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +5 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +19 lines, -14 lines 0 comments Download

Messages

Total messages: 75 (35 generated)
peria
PTL. This CL is a replacement of https://codereview.chromium.org/1469353011/
5 years ago (2015-11-27 02:13:06 UTC) #7
haraken
On 2015/11/27 02:13:06, peria wrote: > PTL. > > This CL is a replacement of ...
5 years ago (2015-11-27 03:53:54 UTC) #8
peria
On 2015/11/27 03:53:54, haraken wrote: > On 2015/11/27 02:13:06, peria wrote: > > PTL. > ...
5 years ago (2015-11-27 05:00:47 UTC) #11
haraken
LGTM https://codereview.chromium.org/1477113003/diff/80001/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp File third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp (right): https://codereview.chromium.org/1477113003/diff/80001/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp#newcode45 third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp:45: m_compositorPlayer->setAnimationDelegate(nullptr); Not related to your CL, this is ...
5 years ago (2015-11-27 05:10:14 UTC) #13
peria
https://codereview.chromium.org/1477113003/diff/80001/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp File third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp (right): https://codereview.chromium.org/1477113003/diff/80001/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp#newcode45 third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.cpp:45: m_compositorPlayer->setAnimationDelegate(nullptr); On 2015/11/27 05:10:14, haraken wrote: > > Not ...
5 years ago (2015-11-27 05:23:48 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477113003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477113003/100001
5 years ago (2015-11-27 05:24:14 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/35543)
5 years ago (2015-11-27 05:38:19 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477113003/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477113003/130001
5 years ago (2015-11-27 07:25:47 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/146768)
5 years ago (2015-11-27 09:07:05 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477113003/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477113003/130001
5 years ago (2015-11-27 09:25:47 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/146784)
5 years ago (2015-11-27 11:01:02 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477113003/230001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477113003/230001
5 years ago (2015-12-02 13:33:32 UTC) #32
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-02 14:49:15 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477113003/250001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477113003/250001
5 years ago (2015-12-03 02:34:57 UTC) #38
peria
PTAL. The reason of the failure seems to be Timer<> in ScrollAnimatorMac.
5 years ago (2015-12-03 02:37:47 UTC) #39
haraken
https://codereview.chromium.org/1477113003/diff/250001/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp File third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp (right): https://codereview.chromium.org/1477113003/diff/250001/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp#newcode93 third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp:93: m_scrollAnimator->cleanup(); m_scrollAnimator is an on-heap object, so you cannot ...
5 years ago (2015-12-03 02:45:30 UTC) #40
peria
https://codereview.chromium.org/1477113003/diff/250001/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp File third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp (right): https://codereview.chromium.org/1477113003/diff/250001/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp#newcode93 third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp:93: m_scrollAnimator->cleanup(); On 2015/12/03 02:45:30, haraken wrote: > > m_scrollAnimator ...
5 years ago (2015-12-03 03:06:05 UTC) #41
haraken
https://codereview.chromium.org/1477113003/diff/270001/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm File third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm (right): https://codereview.chromium.org/1477113003/diff/270001/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm#newcode708 third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm:708: cleanup(); Remove this. cleanup() is already called in the ...
5 years ago (2015-12-03 03:47:11 UTC) #42
peria
https://codereview.chromium.org/1477113003/diff/270001/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm File third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm (right): https://codereview.chromium.org/1477113003/diff/270001/third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm#newcode708 third_party/WebKit/Source/platform/mac/ScrollAnimatorMac.mm:708: cleanup(); On 2015/12/03 03:47:11, haraken wrote: > > Remove ...
5 years ago (2015-12-03 05:02:14 UTC) #43
haraken
This CL is getting pretty tricky... https://codereview.chromium.org/1477113003/diff/310001/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h File third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h (right): https://codereview.chromium.org/1477113003/diff/310001/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h#newcode111 third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h:111: RawPtrWillBeMember<ScrollableArea> m_scrollableArea; In ...
5 years ago (2015-12-03 05:34:35 UTC) #44
peria
On 2015/12/03 05:34:35, haraken wrote: > This CL is getting pretty tricky... > > https://codereview.chromium.org/1477113003/diff/310001/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h ...
5 years ago (2015-12-03 06:03:16 UTC) #45
haraken
On 2015/12/03 06:03:16, peria wrote: > On 2015/12/03 05:34:35, haraken wrote: > > This CL ...
5 years ago (2015-12-03 06:07:52 UTC) #46
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477113003/330001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477113003/330001
5 years ago (2015-12-03 07:59:04 UTC) #48
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/65104) chromeos_x86-generic_chromium_compile_only_ng on ...
5 years ago (2015-12-03 08:10:45 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477113003/350001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477113003/350001
5 years ago (2015-12-03 08:59:16 UTC) #53
peria
https://codereview.chromium.org/1477113003/diff/310001/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h File third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h (right): https://codereview.chromium.org/1477113003/diff/310001/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h#newcode111 third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h:111: RawPtrWillBeMember<ScrollableArea> m_scrollableArea; On 2015/12/03 05:34:35, haraken wrote: > > ...
5 years ago (2015-12-03 09:24:25 UTC) #54
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/149375)
5 years ago (2015-12-03 10:28:45 UTC) #56
haraken
https://codereview.chromium.org/1477113003/diff/350001/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h File third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h (right): https://codereview.chromium.org/1477113003/diff/350001/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h#newcode24 third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h:24: class ProgrammaticScrollAnimator : public GarbageCollectedFinalized<ProgrammaticScrollAnimator>, private WebCompositorAnimationPlayerClient, WebCompositorAnimationDelegate { ...
5 years ago (2015-12-03 10:45:49 UTC) #57
peria
On 2015/12/03 05:34:35, haraken wrote: > This CL is getting pretty tricky... > > https://codereview.chromium.org/1477113003/diff/310001/third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h ...
5 years ago (2015-12-03 13:38:44 UTC) #58
peria
https://codereview.chromium.org/1477113003/diff/350001/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h File third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h (right): https://codereview.chromium.org/1477113003/diff/350001/third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h#newcode24 third_party/WebKit/Source/platform/scroll/ProgrammaticScrollAnimator.h:24: class ProgrammaticScrollAnimator : public GarbageCollectedFinalized<ProgrammaticScrollAnimator>, private WebCompositorAnimationPlayerClient, WebCompositorAnimationDelegate { ...
5 years ago (2015-12-03 13:42:09 UTC) #59
haraken
https://codereview.chromium.org/1477113003/diff/370001/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp File third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp (right): https://codereview.chromium.org/1477113003/diff/370001/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp#newcode96 third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp:96: #if OS(MACOSX) && ENABLE(OILPAN) On 2015/12/03 13:42:08, peria wrote: ...
5 years ago (2015-12-03 14:48:47 UTC) #60
peria
On 2015/12/03 14:48:47, haraken wrote: > https://codereview.chromium.org/1477113003/diff/370001/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp > File third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp (right): > > https://codereview.chromium.org/1477113003/diff/370001/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp#newcode96 > ...
5 years ago (2015-12-03 15:08:13 UTC) #61
haraken
On 2015/12/03 15:08:13, peria wrote: > On 2015/12/03 14:48:47, haraken wrote: > > > https://codereview.chromium.org/1477113003/diff/370001/third_party/WebKit/Source/platform/scroll/ScrollableArea.cpp ...
5 years ago (2015-12-03 15:28:01 UTC) #62
haraken
On 2015/12/03 15:28:01, haraken wrote: > On 2015/12/03 15:08:13, peria wrote: > > On 2015/12/03 ...
5 years ago (2015-12-03 15:36:03 UTC) #63
peria
On 2015/12/03 15:36:03, haraken wrote: > On 2015/12/03 15:28:01, haraken wrote: > > On 2015/12/03 ...
5 years ago (2015-12-04 00:13:26 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477113003/390001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477113003/390001
5 years ago (2015-12-04 00:14:22 UTC) #67
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_rel on ...
5 years ago (2015-12-04 02:22:38 UTC) #69
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477113003/390001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477113003/390001
5 years ago (2015-12-04 02:31:11 UTC) #71
commit-bot: I haz the power
Committed patchset #13 (id:390001)
5 years ago (2015-12-04 03:59:15 UTC) #73
commit-bot: I haz the power
5 years ago (2015-12-04 03:59:58 UTC) #75
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/8e25ffb821fc66cbca271b2ca5b7b1908811f977
Cr-Commit-Position: refs/heads/master@{#363117}

Powered by Google App Engine
This is Rietveld 408576698