Title: [175155] trunk/Source/WebCore
Revision
175155
Author
mmaxfi...@apple.com
Date
2014-10-23 18:32:48 -0700 (Thu, 23 Oct 2014)

Log Message

Unreviewed iOS build fix

Patch by Myles C. Maxfield <mmaxfi...@apple.com> on 2014-10-23

* editing/FrameSelection.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (175154 => 175155)


--- trunk/Source/WebCore/ChangeLog	2014-10-24 01:29:46 UTC (rev 175154)
+++ trunk/Source/WebCore/ChangeLog	2014-10-24 01:32:48 UTC (rev 175155)
@@ -1,3 +1,9 @@
+2014-10-23  Myles C. Maxfield  <mmaxfi...@apple.com>
+
+        Unreviewed iOS build fix
+
+        * editing/FrameSelection.cpp:
+
 2014-10-23  Chris Dumez  <cdu...@apple.com>
 
         [Mac] Optimize URL::createCFURL() for the common case

Modified: trunk/Source/WebCore/editing/FrameSelection.cpp (175154 => 175155)


--- trunk/Source/WebCore/editing/FrameSelection.cpp	2014-10-24 01:29:46 UTC (rev 175154)
+++ trunk/Source/WebCore/editing/FrameSelection.cpp	2014-10-24 01:32:48 UTC (rev 175155)
@@ -1474,10 +1474,12 @@
         CaretBase::paintCaret(m_selection.start().deprecatedNode(), context, paintOffset, clipRect);
 }
 
+#if ENABLE(TEXT_CARET)
 static inline bool disappearsIntoBackground(Color foreground, Color background)
 {
     return background.blend(foreground) == background;
 }
+#endif
 
 void CaretBase::paintCaret(Node* node, GraphicsContext* context, const LayoutPoint& paintOffset, const LayoutRect& clipRect) const
 {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to