• Mostyn Bramley-Moore's avatar
    [jumbo] avoid g_next_id collision in cc · 6c1d127a
    Mostyn Bramley-Moore authored
    We can avoid the jumbo build error mentioned below, by replacing these (translation
    unit) global g_next_id variables with static class variables:
    
    ./../../cc/paint/raw_memory_transfer_cache_entry.cc:13:28: error: redefinition of 'g_next_id'
    base::AtomicSequenceNumber g_next_id;
                               ^
    ./../../cc/paint/image_transfer_cache_entry.cc:15:28: note: previous definition is here
    base::AtomicSequenceNumber g_next_id;
    
    Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.android:android_optional_gpu_tests_rel
    Change-Id: I320f03d6147ca0d2e29ad75573735e9860c4ee99
    Reviewed-on: https://chromium-review.googlesource.com/823032
    Commit-Queue: Mostyn Bramley-Moore <mostynb@vewd.com>
    Reviewed-by: default avatardanakj <danakj@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#523616}
    6c1d127a
image_transfer_cache_entry.cc 3.41 KB