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

Unified Diff: content/renderer/render_view_browsertest.cc

Issue 8227018: mac: Almost fix Lion accented character bubble input in web contents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whoopsies Created 9 years, 2 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: content/renderer/render_view_browsertest.cc
diff --git a/content/renderer/render_view_browsertest.cc b/content/renderer/render_view_browsertest.cc
index 78df67c6b009dc80b0fb613f9c30f544e2538dd0..25038bb90ecf8e4fcd95dfd77b0b130bb2664caa 100644
--- a/content/renderer/render_view_browsertest.cc
+++ b/content/renderer/render_view_browsertest.cc
@@ -17,6 +17,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebURLError.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
#include "ui/base/keycodes/keyboard_codes.h"
+#include "ui/base/range/range.h"
#include "ui/gfx/codec/jpeg_codec.h"
#include "webkit/glue/web_io_operators.h"
@@ -444,7 +445,8 @@ TEST_F(RenderViewImplTest, ImeComposition) {
case IME_CONFIRMCOMPOSITION:
view()->OnImeConfirmComposition(
- WideToUTF16Hack(ime_message->ime_string));
+ WideToUTF16Hack(ime_message->ime_string),
+ ui::Range::InvalidRange());
break;
case IME_CANCELCOMPOSITION:

Powered by Google App Engine
This is Rietveld 408576698