Index: ui/base/ime/composition_text_util_pango.cc |
diff --git a/ui/base/ime/composition_text_util_pango.cc b/ui/base/ime/composition_text_util_pango.cc |
index 98dadb6cc407cad8042833ffd472caa0c1790e45..7a01ebdef809a6fd4665bdf4b191bceeadf4d992 100644 |
--- a/ui/base/ime/composition_text_util_pango.cc |
+++ b/ui/base/ime/composition_text_util_pango.cc |
@@ -76,7 +76,8 @@ void ExtractCompositionTextFromGtkPreedit(const gchar* utf8_text, |
if (background_attr || underline_attr) { |
// Use a black thin underline by default. |
CompositionUnderline underline( |
- char16_offsets[start], char16_offsets[end], SK_ColorBLACK, false); |
+ char16_offsets[start], char16_offsets[end], SK_ColorBLACK, false, |
+ SK_ColorTRANSPARENT); |
// Always use thick underline for a range with background color, which |
// is usually the selection range. |
@@ -109,7 +110,8 @@ void ExtractCompositionTextFromGtkPreedit(const gchar* utf8_text, |
// Use a black thin underline by default. |
if (composition->underlines.empty()) { |
composition->underlines.push_back( |
- CompositionUnderline(0, length, SK_ColorBLACK, false)); |
+ CompositionUnderline(0, length, SK_ColorBLACK, false, |
+ SK_ColorTRANSPARENT)); |
} |
} |