REGRESSION(r222507): Composition highlight doesn't render when using IME
[WebKit-https.git] / Source / WebCore / rendering / InlineTextBox.cpp
index fc5d233606b7a30679b5bef34a4ce0a9cc0ee790..c4900328edb9262b50fd60f4781ef029c218abbf 100644 (file)
@@ -1044,7 +1044,7 @@ void InlineTextBox::paintTextSubrangeDecoration(GraphicsContext& context, const
 
 void InlineTextBox::paintCompositionBackground(GraphicsContext& context, const FloatPoint& boxOrigin)
 {
 
 void InlineTextBox::paintCompositionBackground(GraphicsContext& context, const FloatPoint& boxOrigin)
 {
-    paintTextSubrangeBackground(context, boxOrigin, clampedOffset(renderer().frame().editor().compositionStart()), clampedOffset(renderer().frame().editor().compositionEnd()), Color::compositionFill);
+    paintTextSubrangeBackground(context, boxOrigin, Color::compositionFill, clampedOffset(renderer().frame().editor().compositionStart()), clampedOffset(renderer().frame().editor().compositionEnd()));
 }
 
 void InlineTextBox::paintCompositionUnderlines(GraphicsContext& context, const FloatPoint& boxOrigin) const
 }
 
 void InlineTextBox::paintCompositionUnderlines(GraphicsContext& context, const FloatPoint& boxOrigin) const