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

Issue 2530633002: Revert of [Mac] Switch from NSObject categories to forward declarations for Touch Bar support. (pat… (Closed)

Created:
4 years ago by Sidney San Martín
Modified:
4 years ago
Reviewers:
Sidney San Martín
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2929
Project:
chromium
Visibility:
Public.

Description

Revert of [Mac] Switch from NSObject categories to forward declarations for Touch Bar support. (patchset #4 id:100001 of https://codereview.chromium.org/2519563002/ ) Reason for revert: Persistent build failures on official.desktop (see http://crbug.com/667830) Breaks compilation with the 10.12.1 SDK: bridged_content_view_touch_bar.mm:50:4: error: 'NSTouchBarItem' is partial: introduced in macOS 10.12.1 [-Werror,-Wunguarded-availability] Also tapted doesn't like the macros. Original issue's description: > [Mac] Switch from NSObject categories to forward declarations for Touch Bar support. > > This fixes a crash when -[BridgedContentView touchBar:] calls > -[NSGroupTouchBarItem groupItemWithIdentifier:items:], because > NSGroupTouchBarItem was typedef'd to NSObject. > > BUG=666893 > > Committed: https://crrev.com/799f1635ddedf7fd2f69f7dca26b0f2bf6399cba > Cr-Commit-Position: refs/heads/master@{#433558} TBR=sdy@chromium.org,tapted@chromium.org BUG=666893, 667830 NOTRY=true NOPRESUBMIT=true Review-Url: https://codereview.chromium.org/2526723002 Cr-Commit-Position: refs/heads/master@{#434125} (cherry picked from commit ad8fde91632a1de9759cf18404c6755d815c48aa)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -79 lines) Patch
M ui/base/cocoa/touch_bar_forward_declarations.h View 1 chunk +26 lines, -73 lines 0 comments Download
M ui/views/cocoa/bridged_content_view_touch_bar.mm View 3 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (6 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2530633002/1
4 years ago (2016-11-23 18:38:27 UTC) #3
commit-bot: I haz the power
CLs for remote refs other than refs/pending/heads/master must contain NOTRY=true and NOPRESUBMIT=true in order for ...
4 years ago (2016-11-23 18:38:28 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2530633002/1
4 years ago (2016-11-23 18:39:51 UTC) #8
commit-bot: I haz the power
4 years ago (2016-11-23 18:44:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1)

Powered by Google App Engine
This is Rietveld 408576698