summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/editing/ime/ime_text_span.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/editing/ime/ime_text_span.cc')
-rw-r--r--chromium/third_party/blink/renderer/core/editing/ime/ime_text_span.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/editing/ime/ime_text_span.cc b/chromium/third_party/blink/renderer/core/editing/ime/ime_text_span.cc
index 6a40e77088b..359a07258ff 100644
--- a/chromium/third_party/blink/renderer/core/editing/ime/ime_text_span.cc
+++ b/chromium/third_party/blink/renderer/core/editing/ime/ime_text_span.cc
@@ -14,6 +14,8 @@ ImeTextSpan::ImeTextSpan(Type type,
unsigned end_offset,
const Color& underline_color,
ui::mojom::ImeTextSpanThickness thickness,
+ ui::mojom::ImeTextSpanUnderlineStyle underline_style,
+ const Color& text_color,
const Color& background_color,
const Color& suggestion_highlight_color,
bool remove_on_finish_composing,
@@ -21,6 +23,8 @@ ImeTextSpan::ImeTextSpan(Type type,
: type_(type),
underline_color_(underline_color),
thickness_(thickness),
+ underline_style_(underline_style),
+ text_color_(text_color),
background_color_(background_color),
suggestion_highlight_color_(suggestion_highlight_color),
remove_on_finish_composing_(remove_on_finish_composing),
@@ -67,6 +71,8 @@ ImeTextSpan::ImeTextSpan(const WebImeTextSpan& ime_text_span)
ime_text_span.end_offset,
Color(ime_text_span.underline_color),
ime_text_span.thickness,
+ ime_text_span.underline_style,
+ Color(ime_text_span.text_color),
Color(ime_text_span.background_color),
Color(ime_text_span.suggestion_highlight_color),
ime_text_span.remove_on_finish_composing,