Index: Source/web/tests/WebViewTest.cpp |
diff --git a/Source/web/tests/WebViewTest.cpp b/Source/web/tests/WebViewTest.cpp |
index 23caa22d3a262b2e642900d8564ecf6e984b1942..169a1ad4f97836c97092255134f769cf4235cf6c 100644 |
--- a/Source/web/tests/WebViewTest.cpp |
+++ b/Source/web/tests/WebViewTest.cpp |
@@ -624,7 +624,7 @@ TEST_F(WebViewTest, SetCompositionFromExistingText) |
WebView* webView = m_webViewHelper.initializeAndLoad(m_baseURL + "input_field_populated.html"); |
webView->setInitialFocus(false); |
WebVector<WebCompositionUnderline> underlines(static_cast<size_t>(1)); |
- underlines[0] = blink::WebCompositionUnderline(0, 4, 0, false); |
+ underlines[0] = blink::WebCompositionUnderline(0, 4, 0, false, 0); |
WebLocalFrameImpl* frame = toWebLocalFrameImpl(webView->mainFrame()); |
frame->setEditableSelectionOffsets(4, 10); |
frame->setCompositionFromExistingText(8, 12, underlines); |
@@ -651,7 +651,7 @@ TEST_F(WebViewTest, SetCompositionFromExistingTextInTextArea) |
WebView* webView = m_webViewHelper.initializeAndLoad(m_baseURL + "text_area_populated.html"); |
webView->setInitialFocus(false); |
WebVector<WebCompositionUnderline> underlines(static_cast<size_t>(1)); |
- underlines[0] = blink::WebCompositionUnderline(0, 4, 0, false); |
+ underlines[0] = blink::WebCompositionUnderline(0, 4, 0, false, 0); |
WebLocalFrameImpl* frame = toWebLocalFrameImpl(webView->mainFrame()); |
frame->setEditableSelectionOffsets(27, 27); |
std::string newLineText("\n"); |