Index: third_party/WebKit/public/web/WebWidget.h |
diff --git a/third_party/WebKit/public/web/WebWidget.h b/third_party/WebKit/public/web/WebWidget.h |
index bc0a6faeadee75a26c1916d92d571baf15aba835..e96b4e3975c42748cc9da5cbe37c79973937d70d 100644 |
--- a/third_party/WebKit/public/web/WebWidget.h |
+++ b/third_party/WebKit/public/web/WebWidget.h |
@@ -165,7 +165,7 @@ public: |
// current selection and inserts the text. This method has no effect if |
// there is no ongoing composition and the text is empty. |
// Returns true if there is an ongoing composition or the text is inserted. |
- virtual bool confirmComposition(const WebString& text) { return false; } |
+ virtual bool confirmComposition(const WebString& text, int newCursorPosition) { return false; } |
// Fetches the character range of the current composition, also called the |
// "marked range." Returns true and fills the out-paramters on success; |