Index: Source/core/rendering/InlineTextBox.h |
diff --git a/Source/core/rendering/InlineTextBox.h b/Source/core/rendering/InlineTextBox.h |
index e2db766e70651e7a02db6eeb35644edb2025e861..bdd38ec1b13fddb01eca64e22ca4170f08d24881 100644 |
--- a/Source/core/rendering/InlineTextBox.h |
+++ b/Source/core/rendering/InlineTextBox.h |
@@ -174,9 +174,12 @@ private: |
unsigned short m_truncation; // Where to truncate when text overflow is applied. We use special constants to |
// denote no truncation (the whole run paints) and full truncation (nothing paints at all). |
+private: |
+ unsigned getUnderlinePaintStart(const CompositionUnderline&); |
yosin_UTC9
2014/06/09 01:49:56
nit: Blink doesn't use "get" prefix for getter. Ju
huangs
2014/06/09 06:07:13
Done.
|
+ unsigned getUnderlinePaintEnd(const CompositionUnderline&); |
protected: |
- void paintCompositionBackground(GraphicsContext*, const FloatPoint& boxOrigin, RenderStyle*, const Font&, int startPos, int endPos); |
+ void paintCompositionBackground(GraphicsContext*, const FloatPoint& boxOrigin, RenderStyle*, const Font&, Color backgroundColor, int startPos, int endPos); |
void paintDocumentMarkers(GraphicsContext*, const FloatPoint& boxOrigin, RenderStyle*, const Font&, bool background); |
void paintCompositionUnderline(GraphicsContext*, const FloatPoint& boxOrigin, const CompositionUnderline&); |