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

Issue 1413373007: CC AnimationHost: Fix LinkHighlights detach scope. (Closed)

Created:
5 years, 1 month ago by loyso (OOO)
Modified:
5 years, 1 month ago
Reviewers:
pdr., chrishtr, ajuma, piman
CC:
blink-layers+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, cc-bugs_chromium.org, chromium-reviews, danakj, darin-cc_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, f(malita), jam, jbroman, Justin Novosad, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CC AnimationHost: Fix LinkHighlights detach scope. In a new world with external cc::AnimationHost blink::WebCompositorAnimationPlayer objects may outsurvive the compositor (LayerTreeView and AnimationHost). In this case, they become detached. (See RenderWidget::Close()) See the related fix for ProgrammaticScrollAnimator here: https://codereview.chromium.org/1420913008 BUG=541069 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel Committed: https://crrev.com/429e65a60baa76cbeefa4451483e44dcf7cbfcf7 Cr-Commit-Position: refs/heads/master@{#357755}

Patch Set 1 #

Patch Set 2 : Rebase. #

Total comments: 2

Patch Set 3 : Don't change function signatures, rely on global switch flag later. #

Patch Set 4 : GC. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -4 lines) Patch
M cc/animation/animation_timeline.cc View 2 chunks +1 line, -2 lines 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.h View 1 2 2 chunks +8 lines, -1 line 0 comments Download
M content/test/web_layer_tree_view_impl_for_testing.cc View 1 2 3 2 chunks +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/LinkHighlightImpl.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/LinkHighlightImplTest.cpp View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 1 chunk +1 line, -0 lines 2 comments Download

Messages

Total messages: 20 (6 generated)
loyso (OOO)
5 years, 1 month ago (2015-11-03 04:16:47 UTC) #1
loyso (OOO)
5 years, 1 month ago (2015-11-03 04:17:52 UTC) #3
piman
LGTM for content/
5 years, 1 month ago (2015-11-03 04:24:24 UTC) #4
loyso (OOO)
https://codereview.chromium.org/1413373007/diff/20001/content/test/web_layer_tree_view_impl_for_testing.cc File content/test/web_layer_tree_view_impl_for_testing.cc (right): https://codereview.chromium.org/1413373007/diff/20001/content/test/web_layer_tree_view_impl_for_testing.cc#newcode50 content/test/web_layer_tree_view_impl_for_testing.cc:50: use_compositor_animation_timelines); Alternatively, we can land it with 'settings.use_compositor_animation_timelines = ...
5 years, 1 month ago (2015-11-03 05:08:53 UTC) #7
chrishtr
https://codereview.chromium.org/1413373007/diff/20001/content/test/web_layer_tree_view_impl_for_testing.cc File content/test/web_layer_tree_view_impl_for_testing.cc (right): https://codereview.chromium.org/1413373007/diff/20001/content/test/web_layer_tree_view_impl_for_testing.cc#newcode50 content/test/web_layer_tree_view_impl_for_testing.cc:50: use_compositor_animation_timelines); On 2015/11/03 at 05:08:53, loyso wrote: > Alternatively, ...
5 years, 1 month ago (2015-11-03 05:43:29 UTC) #9
ajuma
cc/ lgtm
5 years, 1 month ago (2015-11-03 15:34:04 UTC) #10
loyso (OOO)
On 2015/11/03 05:43:29, chrishtr wrote: > > Alternatively, we can land it with > 'settings.use_compositor_animation_timelines ...
5 years, 1 month ago (2015-11-04 00:43:18 UTC) #11
piman
lgtm
5 years, 1 month ago (2015-11-04 00:54:21 UTC) #12
pdr.
https://codereview.chromium.org/1413373007/diff/60001/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/1413373007/diff/60001/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2684 third_party/WebKit/Source/web/WebViewImpl.cpp:2684: m_linkHighlights.clear(); Can you help me understand this line? Why ...
5 years, 1 month ago (2015-11-04 02:53:02 UTC) #13
loyso (OOO)
https://codereview.chromium.org/1413373007/diff/60001/third_party/WebKit/Source/web/WebViewImpl.cpp File third_party/WebKit/Source/web/WebViewImpl.cpp (right): https://codereview.chromium.org/1413373007/diff/60001/third_party/WebKit/Source/web/WebViewImpl.cpp#newcode2684 third_party/WebKit/Source/web/WebViewImpl.cpp:2684: m_linkHighlights.clear(); On 2015/11/04 02:53:02, pdr wrote: > Can you ...
5 years, 1 month ago (2015-11-04 04:16:31 UTC) #14
pdr.
lgtm
5 years, 1 month ago (2015-11-04 04:22:26 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413373007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413373007/60001
5 years, 1 month ago (2015-11-04 04:22:45 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-04 04:28:02 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-11-04 04:28:49 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/429e65a60baa76cbeefa4451483e44dcf7cbfcf7
Cr-Commit-Position: refs/heads/master@{#357755}

Powered by Google App Engine
This is Rietveld 408576698