summaryrefslogtreecommitdiff
path: root/chromium/ui/base/cocoa/touch_bar_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ui/base/cocoa/touch_bar_util.h')
-rw-r--r--chromium/ui/base/cocoa/touch_bar_util.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/chromium/ui/base/cocoa/touch_bar_util.h b/chromium/ui/base/cocoa/touch_bar_util.h
index 5d6d7f7705d..c97f726a2d9 100644
--- a/chromium/ui/base/cocoa/touch_bar_util.h
+++ b/chromium/ui/base/cocoa/touch_bar_util.h
@@ -41,15 +41,7 @@ UI_BASE_EXPORT Class NSGroupTouchBarItem();
// Returns a stylized blue button for the touch bar. The button performs
// |action| from the |target|.
-// The __attribute__ visibility annotation is necessary to work around a clang
-// bug: https://bugs.llvm.org/show_bug.cgi?id=33796.
-#if defined(UI_BASE_IMPLEMENTATION) && defined(COMPONENT_BUILD)
-// UI_BASE_EXPORT specifies "default" visibility.
API_AVAILABLE(macosx(10.12.2))
-#else
-API_AVAILABLE(macosx(10.12.2))
-__attribute__((visibility("hidden")))
-#endif
UI_BASE_EXPORT NSButton* GetBlueTouchBarButton(NSString* title,
id target,
SEL action);