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

Issue 1459023002: Compositor Animation Timelines: Fix frame swapping tests in WebFrameTest.cpp (Closed)

Created:
5 years, 1 month ago by loyso (OOO)
Modified:
5 years ago
CC:
blink-layers+watch_chromium.org, blink-reviews, chromium-reviews, kenneth.christiansen, mlamouri+watch-blink_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Compositor Animation Timelines: Fix frame swapping tests in WebFrameTest.cpp We want to enable compositor animation timelines (external cc::AnimationHost) mode by default here: https://codereview.chromium.org/1308053006/ So we need to notify Page and ScrollingCoordinator on main frame swapping. Otherwise, the following webkit_unit_tests fail in new mode: WebFrameTest.SwapMainFrameWhileLoading WebFrameSwapTest.FramesOfRemoteParentAreIndexable WebFrameSwapTest.FrameElementInFramesWithRemoteParent Note that this code works only in --site-per-process mode. BUG=394777 Committed: https://crrev.com/c65cc1e198dbc38c38aa0c27773802947c1c33ff Cr-Commit-Position: refs/heads/master@{#363128}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Plumb it from detach method instead. #

Total comments: 7

Patch Set 3 : Make ProgrammaticScrollAnimatorTimeline to match LayerTreeView lifetime scope. #

Patch Set 4 : Simplify m_programmaticScrollAnimatorTimeline attachment. #

Patch Set 5 : Fixes. #

Patch Set 6 : Plumb it for WebPagePopup. #

Total comments: 5

Patch Set 7 : Remove m_page nullptr checks. #

Patch Set 8 : Check if m_page is null in WebPagePopupImpl. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -36 lines) Patch
M third_party/WebKit/Source/core/page/Page.h View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/Page.cpp View 1 2 3 4 5 6 1 chunk +8 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h View 1 2 3 3 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp View 1 2 3 4 chunks +15 lines, -27 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebPagePopupImpl.cpp View 1 2 3 4 5 6 7 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 3 4 5 6 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 41 (11 generated)
loyso (OOO)
5 years, 1 month ago (2015-11-19 01:07:23 UTC) #2
loyso (OOO)
aelias@chromium.org: Please review changes in vollick@chromium.org: Please review changes in dcheng@chromium.org: Please review changes in
5 years, 1 month ago (2015-11-19 01:08:59 UTC) #4
aelias_OOO_until_Jul13
https://codereview.chromium.org/1459023002/diff/1/third_party/WebKit/Source/web/WebFrame.cpp File third_party/WebKit/Source/web/WebFrame.cpp (right): https://codereview.chromium.org/1459023002/diff/1/third_party/WebKit/Source/web/WebFrame.cpp#newcode98 third_party/WebKit/Source/web/WebFrame.cpp:98: oldFrame->detach(FrameDetachType::Swap); Please plumb it from this detach() method instead. ...
5 years, 1 month ago (2015-11-19 01:19:59 UTC) #6
loyso (OOO)
https://codereview.chromium.org/1459023002/diff/1/third_party/WebKit/Source/web/WebFrame.cpp File third_party/WebKit/Source/web/WebFrame.cpp (right): https://codereview.chromium.org/1459023002/diff/1/third_party/WebKit/Source/web/WebFrame.cpp#newcode98 third_party/WebKit/Source/web/WebFrame.cpp:98: oldFrame->detach(FrameDetachType::Swap); On 2015/11/19 01:19:58, aelias wrote: > Please plumb ...
5 years, 1 month ago (2015-11-19 03:55:00 UTC) #7
loyso (OOO)
https://codereview.chromium.org/1459023002/diff/1/third_party/WebKit/Source/web/WebFrame.cpp File third_party/WebKit/Source/web/WebFrame.cpp (right): https://codereview.chromium.org/1459023002/diff/1/third_party/WebKit/Source/web/WebFrame.cpp#newcode98 third_party/WebKit/Source/web/WebFrame.cpp:98: oldFrame->detach(FrameDetachType::Swap); On 2015/11/19 01:19:58, aelias wrote: > Please plumb ...
5 years, 1 month ago (2015-11-19 03:59:32 UTC) #8
dcheng
https://codereview.chromium.org/1459023002/diff/20001/third_party/WebKit/Source/core/frame/Frame.cpp File third_party/WebKit/Source/core/frame/Frame.cpp (right): https://codereview.chromium.org/1459023002/diff/20001/third_party/WebKit/Source/core/frame/Frame.cpp#newcode96 third_party/WebKit/Source/core/frame/Frame.cpp:96: if (type == FrameDetachType::Swap && isMainFrame() && page()) I ...
5 years, 1 month ago (2015-11-19 05:09:56 UTC) #9
kenrb
Would it be possible to fix this problem just by having the main frame RenderWidget ...
5 years, 1 month ago (2015-11-19 19:16:59 UTC) #11
loyso (OOO)
On 2015/11/19 19:16:59, kenrb wrote: > Would it be possible to fix this problem just ...
5 years, 1 month ago (2015-11-20 03:58:42 UTC) #12
loyso (OOO)
On 2015/11/20 03:58:42, loyso wrote: > On 2015/11/19 19:16:59, kenrb wrote: > > Would it ...
5 years ago (2015-11-24 05:29:45 UTC) #13
kenrb
On 2015/11/20 03:58:42, loyso wrote: > On 2015/11/19 19:16:59, kenrb wrote: > > Would it ...
5 years ago (2015-11-24 15:09:07 UTC) #15
dcheng
On 2015/11/24 at 15:09:07, kenrb wrote: > On 2015/11/20 03:58:42, loyso wrote: > > On ...
5 years ago (2015-11-25 06:09:33 UTC) #16
dcheng
(Also, sending my draft comment) https://codereview.chromium.org/1459023002/diff/20001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp File third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp (right): https://codereview.chromium.org/1459023002/diff/20001/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp#newcode741 third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp:741: destroyProgrammaticScrollAnimatorTimeline(); On 2015/11/19 at ...
5 years ago (2015-11-25 06:09:45 UTC) #17
kenrb
On 2015/11/25 06:09:33, dcheng wrote: > On 2015/11/24 at 15:09:07, kenrb wrote: > > On ...
5 years ago (2015-11-25 15:08:19 UTC) #18
loyso (OOO)
This CL is the only blocker for this: https://codereview.chromium.org/1308053006/ (targeted M48) Can we land it ...
5 years ago (2015-11-26 06:22:52 UTC) #19
loyso (OOO)
PTAL, everyone! It's very simple now.
5 years ago (2015-11-27 04:05:41 UTC) #20
loyso (OOO)
Anyone?
5 years ago (2015-11-29 23:22:15 UTC) #21
Ian Vollick
On 2015/11/29 23:22:15, loyso wrote: > Anyone? The changes in core/ lgtm, but kenrb or ...
5 years ago (2015-11-30 00:00:08 UTC) #22
dcheng
https://codereview.chromium.org/1459023002/diff/100001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp File third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/1459023002/diff/100001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp#newcode607 third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp:607: if (page() && m_layerTreeView) Out of curiosity... how can ...
5 years ago (2015-12-01 01:16:30 UTC) #23
loyso (OOO)
https://codereview.chromium.org/1459023002/diff/100001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp File third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/1459023002/diff/100001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp#newcode607 third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp:607: if (page() && m_layerTreeView) On 2015/12/01 01:16:30, dcheng wrote: ...
5 years ago (2015-12-01 05:41:03 UTC) #24
loyso (OOO)
https://codereview.chromium.org/1459023002/diff/100001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp File third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp (right): https://codereview.chromium.org/1459023002/diff/100001/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp#newcode607 third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp:607: if (page() && m_layerTreeView) On 2015/12/01 01:16:30, dcheng wrote: ...
5 years ago (2015-12-01 06:45:39 UTC) #25
loyso (OOO)
kenrb@ or dcheng@, PTAL?
5 years ago (2015-12-03 03:26:31 UTC) #26
dcheng
lgtm but mind explaining to me why you ended up needing to check m_page in ...
5 years ago (2015-12-03 07:06:50 UTC) #27
loyso (OOO)
On 2015/12/03 07:06:50, dcheng wrote: > lgtm > > but mind explaining to me why ...
5 years ago (2015-12-03 22:57:31 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459023002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459023002/140001
5 years ago (2015-12-03 23:00:22 UTC) #31
dcheng
On 2015/12/03 at 22:57:31, loyso wrote: > On 2015/12/03 07:06:50, dcheng wrote: > > lgtm ...
5 years ago (2015-12-03 23:01:54 UTC) #32
loyso (OOO)
On 2015/12/03 07:06:50, dcheng wrote: > but mind explaining to me why you ended up ...
5 years ago (2015-12-03 23:09:14 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) android_chromium_gn_compile_dbg on ...
5 years ago (2015-12-04 01:10:13 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1459023002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1459023002/140001
5 years ago (2015-12-04 02:51:21 UTC) #37
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years ago (2015-12-04 04:12:06 UTC) #39
commit-bot: I haz the power
5 years ago (2015-12-04 04:13:09 UTC) #41
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c65cc1e198dbc38c38aa0c27773802947c1c33ff
Cr-Commit-Position: refs/heads/master@{#363128}

Powered by Google App Engine
This is Rietveld 408576698