Fix incorrect OSR IME suggestion background color (issue #2562)

This commit is contained in:
Marshall Greenblatt
2019-01-28 12:12:22 -05:00
parent 812136638e
commit 0f6d65a690

View File

@@ -998,7 +998,7 @@ void CefRenderWidgetHostViewOSR::ImeSetComposition(
ui::ImeTextSpan::Type::kComposition, line.range.from, line.range.to,
line.thick ? ui::ImeTextSpan::Thickness::kThick
: ui::ImeTextSpan::Thickness::kThin,
line.color, line.background_color, std::vector<std::string>()));
line.background_color, line.color, std::vector<std::string>()));
}
gfx::Range range(replacement_range.from, replacement_range.to);