• Clark DuVall's avatar
    [WebLayer] Fix crash accessing resources on Monochrome official bundles · 0fdfa429
    Clark DuVall authored
    For monochrome bundles, we attempt to share chrome resources.
    Unfortunately for us, official builds have an additional optimization
    which de-duplicates chrome and webview resources, removing webview
    resources from the chrome paks. Previously, we were not loading the
    webview paks, since during local testing I was not using an official
    build. This patch loads both webview and chrome paks, to make sure we
    have access to all resources.
    
    This was causing a crash in the safe browsing interstitial page, since
    it uses resources shared with webview.
    
    Bug: 1032644
    Change-Id: I84d3044917d15bd5c5955c42c1a00082748e2f29
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1960719Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Clark DuVall <cduvall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#723600}
    0fdfa429
content_main_delegate_impl.cc 11.6 KB