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

Unified Diff: content/renderer/render_widget_browsertest.cc

Issue 2674253004: [refactor] Remove WebWidget::applyReplacementRange (Closed)
Patch Set: Rebased Created 3 years, 10 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
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_widget_browsertest.cc
diff --git a/content/renderer/render_widget_browsertest.cc b/content/renderer/render_widget_browsertest.cc
index 051b212534c1d7cee1cd0a0aaa4d08a927d15fb1..de8e0c8f8bed7f8624827c67699ed19f83c0b160 100644
--- a/content/renderer/render_widget_browsertest.cc
+++ b/content/renderer/render_widget_browsertest.cc
@@ -9,6 +9,7 @@
#include "content/renderer/render_widget.h"
#include "third_party/WebKit/public/web/WebFrameWidget.h"
#include "third_party/WebKit/public/web/WebInputMethodController.h"
+#include "third_party/WebKit/public/web/WebRange.h"
#include "ui/base/ime/text_input_type.h"
namespace content {
@@ -130,7 +131,7 @@ TEST_F(RenderWidgetTest, GetCompositionRangeValidComposition) {
blink::WebVector<blink::WebCompositionUnderline> emptyUnderlines;
DCHECK(widget()->GetInputMethodController());
widget()->GetInputMethodController()->setComposition("hello", emptyUnderlines,
- 3, 3);
+ blink::WebRange(), 3, 3);
gfx::Range range;
GetCompositionRange(&range);
EXPECT_TRUE(range.IsValid());
« no previous file with comments | « content/renderer/render_widget.cc ('k') | third_party/WebKit/Source/web/WebFrameWidgetImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698