Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Unified Diff: third_party/WebKit/Source/web/WebViewFrameWidget.cpp

Issue 2306643003: WebRange-ify WebWidget::compositionRange. (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebViewFrameWidget.cpp
diff --git a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
index dcc5b6a5e4fe79134ee07ecf437571012a931267..1200cc8241da4dc305d26679dca5fb683ca60949 100644
--- a/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
+++ b/third_party/WebKit/Source/web/WebViewFrameWidget.cpp
@@ -152,9 +152,9 @@ bool WebViewFrameWidget::confirmComposition(const WebString& text)
return m_webView->confirmComposition(text);
}
-bool WebViewFrameWidget::compositionRange(size_t* location, size_t* length)
+WebRange WebViewFrameWidget::compositionRange()
{
- return m_webView->compositionRange(location, length);
+ return m_webView->compositionRange();
}
WebTextInputInfo WebViewFrameWidget::textInputInfo()

Powered by Google App Engine
This is Rietveld 408576698