• danakj's avatar
    Crash the renderer process if it tries to re-register SharedBitmapId · 17b91f53
    danakj authored
    A SharedBitmapId must be unique and should only be registered with
    the display compositor once (and is implicitly unregistered if the
    CompositorFrameSink is lost that it was registered to). Crash the
    renderer if it violates this principle on a single CompositorFrameSink
    so we can help track down why this is happening.
    
    R=kylechar@chromium.org
    
    Bug: 862584
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel
    Change-Id: I37f36d0e4be20c5313c92e9e3a319803c0a58aaf
    Reviewed-on: https://chromium-review.googlesource.com/1153467Reviewed-by: default avatarkylechar <kylechar@chromium.org>
    Commit-Queue: danakj <danakj@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#578751}
    17b91f53
async_layer_tree_frame_sink.cc 10.3 KB