Index: third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
index 093eed34d3c13190d82a55e84caa3a315cc5bf74..66960690144d8c7a1695a89a3312e1a3b7af820e 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
+++ b/third_party/WebKit/Source/core/layout/LayoutThemeMac.mm |
@@ -980,15 +980,8 @@ NSTextFieldCell* LayoutThemeMac::textField() const { |
[m_textField.get() setBezeled:YES]; |
[m_textField.get() setEditable:YES]; |
[m_textField.get() setFocusRingType:NSFocusRingTypeExterior]; |
-#if __MAC_OS_X_VERSION_MIN_REQUIRED <= 1070 |
[m_textField.get() setDrawsBackground:YES]; |
[m_textField.get() setBackgroundColor:[NSColor whiteColor]]; |
-#else |
- // Post-Lion, Blink can be in charge of paintinng the background |
- // thanks to the workaround in place for <rdar://problem/11385461>, |
- // which is implemented above as _coreUIDrawOptionsWithFrame. |
- [m_textField.get() setDrawsBackground:NO]; |
-#endif |
} |
return m_textField.get(); |