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

Issue 1288823004: Reland #1: Fix the mechanism by which Blink determines OSX version number. (Closed)

Created:
5 years, 4 months ago by erikchen
Modified:
5 years, 4 months ago
Reviewers:
Nico
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Reland #1: Fix the mechanism by which Blink determines OSX version number. The newly added test VersionUtilMac.AppKitVersions had a logic error. It tried to assert that IsOSMavericksOrEarlier() evalutes to false on 10.8 and 10.9. Original issue's description: > Fix the mechanism by which Blink determines OSX version number. > > Previously, Blink was checking NSAppKitVersionNumber against a compile time > constant. This mechanism doesn't work (see the bug for more details). This CL > converts the logic to use the same mechanism that Chromium uses. > > BUG=521034 > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200708 TBR=thakis@chromium.org BUG=521034 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200839

Patch Set 1 : Copy of original CL. #

Patch Set 2 : Fix logic error in unit test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -15 lines) Patch
M Source/platform/blink_platform.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/mac/ThemeMac.mm View 2 chunks +3 lines, -9 lines 0 comments Download
M Source/platform/mac/VersionUtilMac.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/platform/mac/VersionUtilMac.mm View 1 chunk +64 lines, -6 lines 0 comments Download
A Source/platform/mac/VersionUtilMacTest.mm View 1 1 chunk +57 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (1 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288823004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288823004/20001
5 years, 4 months ago (2015-08-19 17:41:07 UTC) #2
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 18:50:10 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200839

Powered by Google App Engine
This is Rietveld 408576698