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

Issue 2835393003: Reject frames with invalid BeginFrameAck in CompositorFrameSinkSupport (Closed)

Created:
3 years, 8 months ago by Saman Sami
Modified:
3 years, 8 months ago
Reviewers:
danakj
CC:
chromium-reviews, cc-bugs_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Reject frames with invalid BeginFrameAck in CompositorFrameSinkSupport Currently we fix the frame's BeginFrameAck in CompositorFrameSinkSupport if it's invalid and print an error message. There is no reason to do this other than the fact that tests are clumsy and send invalid frames. This CL fixes the tests and rejects invalid BeginFrameAcks in CFSS. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2835393003 Cr-Commit-Position: refs/heads/master@{#467036} Committed: https://chromium.googlesource.com/chromium/src/+/b504122f5dc941bc7f73ed126bb42ab50a152cc4

Patch Set 1 #

Patch Set 2 : Fixed header #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -55 lines) Patch
M cc/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/surfaces/compositor_frame_sink_support.cc View 1 chunk +3 lines, -7 lines 0 comments Download
M cc/surfaces/display_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M cc/surfaces/surface_aggregator_unittest.cc View 25 chunks +25 lines, -31 lines 0 comments Download
M cc/surfaces/surface_hittest_unittest.cc View 2 chunks +2 lines, -1 line 0 comments Download
M cc/surfaces/surface_manager_ref_unittest.cc View 3 chunks +2 lines, -2 lines 0 comments Download
M cc/surfaces/surface_unittest.cc View 4 chunks +4 lines, -3 lines 0 comments Download
M cc/surfaces/surfaces_pixeltest.cc View 7 chunks +7 lines, -7 lines 0 comments Download
A cc/test/compositor_frame_helpers.h View 1 chunk +19 lines, -0 lines 1 comment Download
A cc/test/compositor_frame_helpers.cc View 1 1 chunk +20 lines, -0 lines 0 comments Download
M cc/test/surface_hittest_test_helpers.cc View 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 15 (11 generated)
Saman Sami
PTAL
3 years, 8 months ago (2017-04-25 14:41:51 UTC) #8
danakj
LGTM https://codereview.chromium.org/2835393003/diff/20001/cc/test/compositor_frame_helpers.h File cc/test/compositor_frame_helpers.h (right): https://codereview.chromium.org/2835393003/diff/20001/cc/test/compositor_frame_helpers.h#newcode12 cc/test/compositor_frame_helpers.h:12: namespace test { Didn't realize we had other ...
3 years, 8 months ago (2017-04-25 15:24:36 UTC) #9
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/2835393003/20001
3 years, 8 months ago (2017-04-25 16:01:28 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-25 17:34:36 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/b504122f5dc941bc7f73ed126bb4...

Powered by Google App Engine
This is Rietveld 408576698