Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Issue 941453002: mac: Tentative fix for Yosemite open file crash. (Closed)

Created:
5 years, 10 months ago by erikchen
Modified:
5 years, 10 months ago
Reviewers:
Avi (use Gerrit), Andre
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mac: Tentative fix for Yosemite open file crash. There's a bug in AppKit that causes Chrome to crash when users attempt to save or open a file. The code path that causes the crash is only hit by applications linked against OSX 10.7 SDK (or earlier). This CL registers a default value for the preference NSViewKeepLayersAround, which prevents this code path from being hit. The functional implications of changing the preference NSViewKeepLayersAround are minimal. BUG=428977 Committed: https://crrev.com/192b9d9cfe388a6cfb76b9aea56070da1d878a81 Cr-Commit-Position: refs/heads/master@{#316968}

Patch Set 1 #

Patch Set 2 : Set the default to YES on all OSes. #

Total comments: 2

Patch Set 3 : @(YES) -> @YES #

Patch Set 4 : @YES -> @(YES) #

Patch Set 5 : Remove trailing comma, just in case. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M chrome/browser/chrome_browser_main_mac.mm View 1 2 3 4 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 24 (8 generated)
erikchen
Andre: Please review.
5 years, 10 months ago (2015-02-18 22:25:41 UTC) #2
erikchen
On 2015/02/18 22:25:41, erikchen wrote: > Andre: Please review. Andre: PTAL
5 years, 10 months ago (2015-02-18 22:37:29 UTC) #3
Avi (use Gerrit)
https://codereview.chromium.org/941453002/diff/20001/chrome/browser/chrome_browser_main_mac.mm File chrome/browser/chrome_browser_main_mac.mm (right): https://codereview.chromium.org/941453002/diff/20001/chrome/browser/chrome_browser_main_mac.mm#newcode269 chrome/browser/chrome_browser_main_mac.mm:269: @"NSViewKeepLayersAround": @(YES), Can you use @YES here?
5 years, 10 months ago (2015-02-18 22:40:52 UTC) #5
Andre
LGTM
5 years, 10 months ago (2015-02-18 22:41:34 UTC) #6
Avi (use Gerrit)
On 2015/02/18 22:41:34, Andre wrote: > LGTM LGTM too
5 years, 10 months ago (2015-02-18 22:43:36 UTC) #8
erikchen
https://codereview.chromium.org/941453002/diff/20001/chrome/browser/chrome_browser_main_mac.mm File chrome/browser/chrome_browser_main_mac.mm (right): https://codereview.chromium.org/941453002/diff/20001/chrome/browser/chrome_browser_main_mac.mm#newcode269 chrome/browser/chrome_browser_main_mac.mm:269: @"NSViewKeepLayersAround": @(YES), On 2015/02/18 22:40:52, Avi wrote: > Can ...
5 years, 10 months ago (2015-02-18 22:44:05 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941453002/40001
5 years, 10 months ago (2015-02-18 22:46:00 UTC) #11
erikchen
@YES doesn't work, since YES gets preprocessor defined to 1, and @YES becomes @1.
5 years, 10 months ago (2015-02-18 23:57:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941453002/70001
5 years, 10 months ago (2015-02-18 23:59:26 UTC) #15
Andre
On 2015/02/18 23:57:46, erikchen wrote: > @YES doesn't work, since YES gets preprocessor defined to ...
5 years, 10 months ago (2015-02-19 00:02:44 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) Timed out ...
5 years, 10 months ago (2015-02-19 02:00:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/941453002/70001
5 years, 10 months ago (2015-02-19 02:05:28 UTC) #20
commit-bot: I haz the power
Committed patchset #5 (id:70001)
5 years, 10 months ago (2015-02-19 02:11:32 UTC) #21
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/192b9d9cfe388a6cfb76b9aea56070da1d878a81 Cr-Commit-Position: refs/heads/master@{#316968}
5 years, 10 months ago (2015-02-19 02:12:03 UTC) #22
Avi (use Gerrit)
On 2015/02/19 00:02:44, Andre wrote: > On 2015/02/18 23:57:46, erikchen wrote: > > @YES doesn't ...
5 years, 10 months ago (2015-02-19 03:55:28 UTC) #23
erikchen
5 years, 8 months ago (2015-04-23 18:23:00 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #5 id:70001) has been created in
https://codereview.chromium.org/1104733002/ by erikchen@chromium.org.

The reason for reverting is: Speculative revert. This CL might be responsible
for inverted text in omnibox.

https://code.google.com/p/chromium/issues/detail?id=479097.

Powered by Google App Engine
This is Rietveld 408576698