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

 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();
 
 }

diff --git a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
index 6c63ca8..eff87fe 100644
--- a/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
+++ b/third_party/WebKit/Source/core/paint/ThemePainterMac.mm
@@ -40,12 +40,14 @@
 
 // The methods in this file are specific to the Mac OS X platform.
 
