• Daniel Bratell's avatar
    Avoid having two functions named DoesAndroidSupportMaskableIcons · 73cf221c
    Daniel Bratell authored
    In use_jumbo_build=true builds without goma (i.e. chunk size 50)
    chrome/browser/android/webapps/add_to_homescreen_data_fetcher.cc
    and chrome/browser/android/webapk/webapk_update_data_fetcher.cc will
    compile in the same translation unit and then their (identical)
    helper functions DoesAndroidSupportMaskableIcons() then clashed.
    
    It would be nice to only have a single implementation of the function
    but since it's just "return false;" and I don't know where it
    could be shared I elected to give the functions unique names.
    
    Bug: 988037
    Change-Id: I058f1db0c0ec6711e42e5ecfff6b3b016c60a1bb
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1720772
    Commit-Queue: Daniel Bratell <bratell@opera.com>
    Auto-Submit: Daniel Bratell <bratell@opera.com>
    Reviewed-by: default avatarPeter Kotwicz <pkotwicz@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#681378}
    73cf221c
webapk_update_data_fetcher.cc 11.5 KB