REGRESSION(r222507): Composition highlight doesn't render when using IME
[WebKit-https.git] / Tools / WebKitTestRunner / InjectedBundle / TextInputController.cpp
index 2e304e28c593d901463a6f402605926773345a32..3366c70af1d963e0366a6a98fe118ab60b4d64bb 100644 (file)
@@ -57,9 +57,9 @@ void TextInputController::makeWindowObject(JSContextRef context, JSObjectRef win
     setProperty(context, windowObject, "textInputController", this, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete, exception);
 }
 
     setProperty(context, windowObject, "textInputController", this, kJSPropertyAttributeReadOnly | kJSPropertyAttributeDontDelete, exception);
 }
 
-void TextInputController::setMarkedText(JSStringRef text, int from, int length)
+void TextInputController::setMarkedText(JSStringRef text, int from, int length, bool suppressUnderline)
 {
 {
-    WKBundlePageSetComposition(InjectedBundle::singleton().page()->page(), toWK(text).get(), from, length);
+    WKBundlePageSetComposition(InjectedBundle::singleton().page()->page(), toWK(text).get(), from, length, suppressUnderline);
 }
 
 bool TextInputController::hasMarkedText()
 }
 
 bool TextInputController::hasMarkedText()