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..325cdd61d924f630e01c708d42ff395faddb77c2 100644 |
--- a/ui/base/ime/composition_text_util_pango.cc |
+++ b/ui/base/ime/composition_text_util_pango.cc |
@@ -75,8 +75,11 @@ 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); |
+ CompositionUnderline underline(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. |
@@ -108,8 +111,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)); |
+ composition->underlines.push_back(CompositionUnderline( |
+ 0, length, SK_ColorBLACK, false, SK_ColorTRANSPARENT)); |
} |
} |