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

Issue 2571753002: WindowAnimationWorklet should use ContextLifecycleObserver instead of DOMWindowProperty (Closed)

Created:
4 years ago by haraken
Modified:
4 years ago
Reviewers:
kinuko, nhiroki
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

WindowAnimationWorklet should use ContextLifecycleObserver instead of DOMWindowProperty We're deprecating DOMWindowProperty. So this CL replaces it with ContextLifecycleObserver. Also this CL adds a comment why WindowAnimationWorklet needs to clear m_animationWorklet in contextDestroyed(). BUG=610176 Committed: https://crrev.com/45369974f8ad223059462980229a9735e6ee6865 Cr-Commit-Position: refs/heads/master@{#438544}

Patch Set 1 #

Total comments: 1

Patch Set 2 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -13 lines) Patch
M third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.h View 1 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp View 1 3 chunks +22 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (6 generated)
haraken
kinuko@, nhiroki@: PTAL This CL will be correct if WindowAnimationWorklet doesn't have the complicated issue ...
4 years ago (2016-12-13 09:25:58 UTC) #2
nhiroki
https://codereview.chromium.org/2571753002/diff/1/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp File third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp (left): https://codereview.chromium.org/2571753002/diff/1/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp#oldcode42 third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp:42: void WindowAnimationWorklet::frameDestroyed() { This was added to fix memory ...
4 years ago (2016-12-13 09:49:01 UTC) #3
haraken
On 2016/12/13 09:49:01, nhiroki (OOO Dec 14 16) wrote: > https://codereview.chromium.org/2571753002/diff/1/third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp > File > third_party/WebKit/Source/modules/compositorworker/WindowAnimationWorklet.cpp ...
4 years ago (2016-12-14 12:50:48 UTC) #5
kinuko
lgtm
4 years ago (2016-12-14 13:48:43 UTC) #6
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/2571753002/20001
4 years ago (2016-12-14 15:35:37 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-14 18:37:31 UTC) #11
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/45369974f8ad223059462980229a9735e6ee6865 Cr-Commit-Position: refs/heads/master@{#438544}
4 years ago (2016-12-14 18:40:22 UTC) #13
nhiroki
4 years ago (2016-12-15 00:59:54 UTC) #14
Message was sent while issue was closed.
LGTM. Thank you for adding the nice comment :)

Powered by Google App Engine
This is Rietveld 408576698