Index: ui/base/ime/input_method_chromeos_unittest.cc |
diff --git a/ui/base/ime/input_method_chromeos_unittest.cc b/ui/base/ime/input_method_chromeos_unittest.cc |
index 48c8944364704cdfbc073853304e0a81e7dbc11a..09327146cf420f23ad2cccdfc3ed310d28166a85 100644 |
--- a/ui/base/ime/input_method_chromeos_unittest.cc |
+++ b/ui/base/ime/input_method_chromeos_unittest.cc |
@@ -639,6 +639,8 @@ TEST_F(InputMethodChromeOSTest, ExtractCompositionTextTest_SingleUnderline) { |
// Single underline represents as black thin line. |
EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); |
EXPECT_FALSE(composition_text.underlines[0].thick); |
+ EXPECT_EQ(SK_ColorTRANSPARENT, |
+ composition_text.underlines[0].background_color); |
} |
TEST_F(InputMethodChromeOSTest, ExtractCompositionTextTest_DoubleUnderline) { |
@@ -669,6 +671,8 @@ TEST_F(InputMethodChromeOSTest, ExtractCompositionTextTest_DoubleUnderline) { |
// Double underline represents as black thick line. |
EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); |
EXPECT_TRUE(composition_text.underlines[0].thick); |
+ EXPECT_EQ(SK_ColorTRANSPARENT, |
+ composition_text.underlines[0].background_color); |
} |
TEST_F(InputMethodChromeOSTest, ExtractCompositionTextTest_ErrorUnderline) { |
@@ -724,6 +728,8 @@ TEST_F(InputMethodChromeOSTest, ExtractCompositionTextTest_Selection) { |
composition_text.underlines[0].end_offset); |
EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); |
EXPECT_TRUE(composition_text.underlines[0].thick); |
+ EXPECT_EQ(SK_ColorTRANSPARENT, |
+ composition_text.underlines[0].background_color); |
} |
TEST_F(InputMethodChromeOSTest, |
@@ -756,6 +762,8 @@ TEST_F(InputMethodChromeOSTest, |
composition_text.underlines[0].end_offset); |
EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); |
EXPECT_TRUE(composition_text.underlines[0].thick); |
+ EXPECT_EQ(SK_ColorTRANSPARENT, |
+ composition_text.underlines[0].background_color); |
} |
TEST_F(InputMethodChromeOSTest, |
@@ -788,6 +796,8 @@ TEST_F(InputMethodChromeOSTest, |
composition_text.underlines[0].end_offset); |
EXPECT_EQ(SK_ColorBLACK, composition_text.underlines[0].color); |
EXPECT_TRUE(composition_text.underlines[0].thick); |
+ EXPECT_EQ(SK_ColorTRANSPARENT, |
+ composition_text.underlines[0].background_color); |
} |
TEST_F(InputMethodChromeOSTest, SurroundingText_NoSelectionTest) { |