| Index: Source/platform/mac/WebCoreNSCellExtras.h
|
| diff --git a/Source/platform/mac/WebCoreNSCellExtras.h b/Source/platform/mac/WebCoreNSCellExtras.h
|
| index efe0dd40ec90935117ef3e43deb51e9d5a5e4798..54e9c9a24b95aa5bfd99295ff6c59cad13835715 100644
|
| --- a/Source/platform/mac/WebCoreNSCellExtras.h
|
| +++ b/Source/platform/mac/WebCoreNSCellExtras.h
|
| @@ -26,14 +26,12 @@
|
| #import <AppKit/AppKit.h>
|
| #include "platform/PlatformExport.h"
|
|
|
| -#if !defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7
|
| +#define BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING (!defined(MAC_OS_X_VERSION_10_7) || MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_7)
|
|
|
| -@interface NSCell (LionSDKDeclarations)
|
| -- (void)drawFocusRingMaskWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
|
| -@end
|
| -
|
| -#endif
|
| +#if !BUTTON_CELL_DRAW_WITH_FRAME_DRAWS_FOCUS_RING
|
|
|
| @interface NSCell (WebCoreFocusRingDrawing)
|
| -- (void)cr_drawFocusRingWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
|
| +- (void)_web_drawFocusRingWithFrame:(NSRect)cellFrame inView:(NSView *)controlView;
|
| @end
|
| +
|
| +#endif
|
|
|