          return false;
      }
  #endif
-@@ -147,7 +151,9 @@ bool ThemePainterMac::paintCapsLockIndicator(const LayoutObject&, const PaintInf
+@@ -146,7 +150,9 @@ bool ThemePainterMac::paintCapsLockIndicator(const LayoutObject&, const PaintInf
  bool ThemePainterMac::paintTextArea(const LayoutObject& o, const PaintInfo& paintInfo, const IntRect& r)
  {
      LocalCurrentGraphicsContext localContext(paintInfo.context, &paintInfo.cullRect().m_rect, r);

 
 namespace blink {
 
@@ -66,7 +68,9 @@ bool ThemePainterMac::paintTextField(const LayoutObject& o, const PaintInfo& pai
     // background. We need WebCore to paint styled backgrounds, so we'll use
     // this AppKit SPI function instead.
     if (!useNSTextFieldCell) {

 extern "C" {
 
 // Kill ring calls. Would be better to use NSKillRing.h, but that's not available as API or SPI.
@@ -39,44 +40,59 @@ void _NSNewKillRingSequence();
 void _NSSetKillRingToYankedState();
 
 }
