MacViews: reland 'Shim |ShowModalDialog| for Polychrome'
This was originally https://chromium-review.googlesource.com/c/chromium/src/+/929942 but was reverted because of the hacky way it implemented a components/ function in Chrome. It's now rebased on https://chromium-review.googlesource.com/c/chromium/src/+/949362 which made that behavior unnecessary. Background: Polychrome is an intermediate step to shipping MacViews browser. Currently, switching between Cocoa browser and MacViews browser requires a buildflag. Polychrome builds both Cocoa and MacViews into the same binary and allows switching between them based on a feature flag. More details at crbug.com/802257 As Cocoa and (much of) Views were not typically built together, some symbols were reused. With Polychrome, these are duplicate symbols. This CL resolves the issue by renaming the Cocoa symbols, and then shimming them for the (regular, not Polychrome) Cocoa build. Bug: 808017 Change-Id: Ia42c202e474614c97759aab28c88f580bc0ffabd Reviewed-on: https://chromium-review.googlesource.com/950063Reviewed-by:Mike Wittman <wittman@chromium.org> Reviewed-by:
Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/master@{#541500}
Showing
Please register or sign in to comment