Index: third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp |
diff --git a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp |
index 541c84e4587e981ad9d84683c35c4c58037abf5f..b176244dce8033ea84b758f52b67d042185fbfce 100644 |
--- a/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp |
+++ b/third_party/WebKit/Source/core/editing/InputMethodControllerTest.cpp |
@@ -372,7 +372,8 @@ TEST_F(InputMethodControllerTest, CompositionFireBeforeInput) |
document().setTitle(emptyString()); |
controller().confirmComposition(); |
- EXPECT_STREQ("beforeinput.isComposing:false", document().title().utf8().data()); |
+ // Last 'beforeinput' should also be inside composition scope. |
+ EXPECT_STREQ("beforeinput.isComposing:true", document().title().utf8().data()); |
} |
} // namespace blink |