• Mohsen Izadi's avatar
    Improve CompositorFrameSinkSupport::SubmitCompositorFrame() interface · a4f6bb4e
    Mohsen Izadi authored
    There are two versions of this method available, one inherited from
    mojom::CompositorFrameSink interface and one that actually implements
    the functionality. Both are public and a bit confusing as to which
    should be used. After this change, callers should prefer to use the one
    that is inherited from mojom::CompositorFrameSink and call the other one
    only when they want to see if the call was successful or not. The first
    version DCHECK's on the success of the call.
    
    BUG=776154
    TEST=none
    
    Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel
    Change-Id: I26a0a23f8e2ee807c3a2ea8a5ce7004ac2801c85
    Reviewed-on: https://chromium-review.googlesource.com/865475Reviewed-by: default avatarFady Samuel <fsamuel@chromium.org>
    Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Reviewed-by: default avatarSaman Sami <samans@chromium.org>
    Commit-Queue: Mohsen Izadi <mohsen@chromium.org>
    Commit-Queue: Fady Samuel <fsamuel@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#532586}
    a4f6bb4e
test_layer_tree_frame_sink.cc 9.15 KB