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

Issue 2815073002: Revert of Remove CompositorObserver::OnCompositingEnded() (Closed)

Created:
3 years, 8 months ago by Alex Z.
Modified:
3 years, 8 months ago
CC:
chromium-reviews, cc-bugs_chromium.org, sadrul, Ian Vollick, tfarina, jam, jbauman+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, kalyank, danakj+watch_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Remove CompositorObserver::OnCompositingEnded() (patchset #5 id:80001 of https://codereview.chromium.org/2776973004/ ) Reason for revert: Cause LayerWithRealCompositorTest.ReportMetrics to be flaky on Windows. We don't need this change anyway now that MojoCompositorFrameSinkClient::WillDrawSurface() is removed. Original issue's description: > Remove CompositorObserver::OnCompositingEnded() > > OnCompistingEnded() is only used in tests. By replacing usages of > OnCompositingEnded() with OnCompositingStarted(), we are able to remove > the call to OnCompositingEnded() in > ui::Compositor::DidReceiveCompositorFrameAck() without making the tests less > effective. > > This is the first step in simplifying CompositorFrameAcks. > > BUG=671202 > > Review-Url: https://codereview.chromium.org/2776973004 > Cr-Commit-Position: refs/heads/master@{#460409} > Committed: https://chromium.googlesource.com/chromium/src/+/ce75f9388f73820bc5bb31401bcc75520f467a3f TBR=fsamuel@chromium.org,danakj@chromium.org,varkha@chromium.org,sky@chromium.org,asvitkine@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=671202, 709080 Review-Url: https://codereview.chromium.org/2815073002 Cr-Commit-Position: refs/heads/master@{#464468} Committed: https://chromium.googlesource.com/chromium/src/+/b14cc10ccf83caad627156403239fc6758c2dbbb

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix Compiling Error #

Patch Set 4 : Fix compositor_unittests #

Patch Set 5 : Fix Typo #

Patch Set 6 : Fix CompositorObservers test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -23 lines) Patch
M ash/mus/non_client_frame_controller_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/browser_compositor_view_mac.mm View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/delegated_frame_host.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/compositor.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ui/compositor/compositor_observer.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/compositor/compositor_unittest.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
M ui/compositor/layer_unittest.cc View 1 2 3 4 5 7 chunks +23 lines, -15 lines 0 comments Download
M ui/compositor/test/draw_waiter_for_test.h View 1 3 chunks +5 lines, -0 lines 0 comments Download
M ui/compositor/test/draw_waiter_for_test.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M ui/snapshot/snapshot_aura_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M ui/views/controls/scroll_view_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/view_unittest.cc View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 39 (27 generated)
Alex Z.
Created Revert of Remove CompositorObserver::OnCompositingEnded()
3 years, 8 months ago (2017-04-12 12:27:02 UTC) #2
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/2815073002/1
3 years, 8 months ago (2017-04-12 12:27:17 UTC) #3
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 8 months ago (2017-04-12 12:27:19 UTC) #5
Fady Samuel
lgtm
3 years, 8 months ago (2017-04-13 03:04:34 UTC) #7
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/2815073002/1
3 years, 8 months ago (2017-04-13 03:05:26 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/247049) cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 8 months ago (2017-04-13 03:09:32 UTC) #11
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/2815073002/230001
3 years, 8 months ago (2017-04-13 13:08:12 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/361826)
3 years, 8 months ago (2017-04-13 13:21:19 UTC) #16
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/2815073002/250001
3 years, 8 months ago (2017-04-13 13:32:12 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_compile_dbg_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_compile_dbg_ng/builds/275906)
3 years, 8 months ago (2017-04-13 13:42:20 UTC) #21
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/2815073002/310001
3 years, 8 months ago (2017-04-13 17:53:37 UTC) #36
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 18:07:46 UTC) #39
Message was sent while issue was closed.
Committed patchset #6 (id:310001) as
https://chromium.googlesource.com/chromium/src/+/b14cc10ccf83caad627156403239...

Powered by Google App Engine
This is Rietveld 408576698