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

Issue 2614423003: Adding SatisfySequence and RequireSequence to SurfaceManager (Closed)

Created:
3 years, 11 months ago by Saman Sami
Modified:
3 years, 11 months ago
CC:
chromium-reviews, jam, cc-bugs_chromium.org, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Adding SatisfySequence and RequireSequence to SurfaceManager Now that satisfies_sequences in CompositorFrameMetadata is gone, there is absolutely no reason for SurfaceManager::DidSatisfySequences to take a vector of sequences as opposed to one. This CL replaces DidSatisfySequence with SatisfySequence and also creates SurfaceManager::RequireSequence which helps remove duplicate code throughout the code base. TBR=piman@chromium.org BUG=675054 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2614423003 Cr-Commit-Position: refs/heads/master@{#442461} Committed: https://chromium.googlesource.com/chromium/src/+/1221800150ab0969c63166809616392db5a02729

Patch Set 1 #

Total comments: 2

Patch Set 2 : up #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -67 lines) Patch
M cc/surfaces/compositor_frame_sink_support.cc View 1 chunk +3 lines, -9 lines 0 comments Download
M cc/surfaces/direct_surface_reference_factory.cc View 1 chunk +2 lines, -9 lines 0 comments Download
M cc/surfaces/surface_factory_unittest.cc View 2 chunks +3 lines, -5 lines 0 comments Download
M cc/surfaces/surface_manager.h View 1 1 chunk +8 lines, -4 lines 0 comments Download
M cc/surfaces/surface_manager.cc View 1 1 chunk +12 lines, -5 lines 1 comment Download
M cc/surfaces/surface_manager_ref_unittest.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/browser_plugin/browser_plugin_guest.cc View 1 chunk +2 lines, -11 lines 0 comments Download
M content/browser/frame_host/cross_process_frame_connector.cc View 1 chunk +2 lines, -11 lines 0 comments Download
M content/browser/renderer_host/offscreen_canvas_surface_impl.cc View 1 chunk +2 lines, -11 lines 0 comments Download

Messages

Total messages: 25 (17 generated)
Fady Samuel
lgtm
3 years, 11 months ago (2017-01-09 17:48:36 UTC) #9
Saman Sami
danakj and jbauman: Please review all files.
3 years, 11 months ago (2017-01-09 18:26:21 UTC) #13
danakj
https://codereview.chromium.org/2614423003/diff/1/cc/surfaces/surface_manager.cc File cc/surfaces/surface_manager.cc (right): https://codereview.chromium.org/2614423003/diff/1/cc/surfaces/surface_manager.cc#newcode84 cc/surfaces/surface_manager.cc:84: LOG(ERROR) << "Attempting to require callback on nonexistent surface"; ...
3 years, 11 months ago (2017-01-09 19:07:43 UTC) #16
Saman Sami
PTAL
3 years, 11 months ago (2017-01-09 19:18:53 UTC) #17
danakj
LGTM https://codereview.chromium.org/2614423003/diff/20001/cc/surfaces/surface_manager.cc File cc/surfaces/surface_manager.cc (right): https://codereview.chromium.org/2614423003/diff/20001/cc/surfaces/surface_manager.cc#newcode84 cc/surfaces/surface_manager.cc:84: DLOG(ERROR) << "Attempting to require callback on nonexistent ...
3 years, 11 months ago (2017-01-09 19:27:10 UTC) #18
jbauman
lgtm
3 years, 11 months ago (2017-01-09 23:36:23 UTC) #19
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/2614423003/20001
3 years, 11 months ago (2017-01-10 00:06:33 UTC) #22
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 03:11:17 UTC) #25
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/1221800150ab0969c63166809616...

Powered by Google App Engine
This is Rietveld 408576698