• Daniel Bratell's avatar
    [jumbo] Give two GetDelegate/GetDelegateWrapper methods unique names · be89e344
    Daniel Bratell authored
    In jumbo builds whole chunks of the code is compiled in the same
    translation unit, using the same anonymous namespace. If two
    files use the same symbol names they will then clash and that
    happened in chrome/browser/extensions between
    active_tab_permission_granter.cc and extension_tab_util.cc.
    
    This patch renames GetDelegate() and GetDelegateWrapper to include
    the more exact names of the Delegate type, making them unique.
    
    Bug: 865947
    Change-Id: I46426e8dee715d57acaa3d2385e6dd5b6ac38cf1
    Reviewed-on: https://chromium-review.googlesource.com/1219246
    Commit-Queue: Daniel Bratell <bratell@opera.com>
    Reviewed-by: default avatarDevlin <rdevlin.cronin@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#590327}
    be89e344
extension_tab_util.cc 28 KB