| Index: Source/platform/mac/WebCoreNSCellExtras.mm
|
| diff --git a/Source/platform/mac/WebCoreNSCellExtras.mm b/Source/platform/mac/WebCoreNSCellExtras.mm
|
| index 1b4f2f37c3b4cf6e743edad382165980992522d5..ef52e233df6b9dcad039c631a617f3a75230674c 100644
|
| --- a/Source/platform/mac/WebCoreNSCellExtras.mm
|
| +++ b/Source/platform/mac/WebCoreNSCellExtras.mm
|
| @@ -31,6 +31,9 @@
|
|
|
| - (void)_web_drawFocusRingWithFrame:(NSRect)cellFrame inView:(NSView *)controlView
|
| {
|
| + // FIXME: Remove this check when we drop support for Mac OS X 10.6
|
| + if (![self respondsToSelector:@selector(drawFocusRingMaskWithFrame:inView:)])
|
| + return;
|
| CGContextRef cgContext = (CGContextRef)[[NSGraphicsContext currentContext] graphicsPort];
|
| CGContextSaveGState(cgContext);
|
| NSSetFocusRingStyle(NSFocusRingOnly);
|
|
|