This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mac] Increment app shortcut version numbers.
https://crrev.com/1413863003 statically links libc++.a on Mac. This causes app shims created before the static linking to fail to launch on Chromium built after the static linking. The launch failures are caused by substantial memory corruptions in the app_mode::ChromeAppModeInfo struct when it is passed from the shim launcher to the Chromium dylib at startup, as the shim is linking against the system C++ library while Chromium is now linked to its own libc++. This CL increments the shortcut version numbers, which will cause Chromium to rebuild shims when it is launched. However, shims which are launched without Chromium running will continue to fail until Chromium is launched, at which point the shims will be rebuilt. To counter this, the ChromeAppModeStart entry point for shims is now versioned; by incrementing the function version number, all old shims will automatically be rebuilt on their next launch. BUG=561205 Review URL: https://codereview.chromium.org/1487503002 Cr-Commit-Position: refs/heads/master@{#362634} (cherry picked from commit d7f8dad) Review URL: https://codereview.chromium.org/1500583004 . Cr-Commit-Position: refs/branch-heads/2564@{#227} Cr-Branched-From: 1283eca-refs/heads/master@{#359700}
- Loading branch information
Dominick Ng
committed
Dec 4, 2015
1 parent
9bef822
commit 68f6a69
Showing
5 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters