| Index: third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
|
| index 18e8f0b26fa6e6fe463115aec468d3b9e766d040..bff1b861c4a44a433953624a3d4c374dc6d0fed8 100644
|
| --- a/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebInputMethodControllerImpl.cpp
|
| @@ -27,7 +27,7 @@ namespace blink {
|
|
|
| WebInputMethodControllerImpl::WebInputMethodControllerImpl(
|
| WebLocalFrameImpl* web_local_frame)
|
| - : web_local_frame_(web_local_frame), suppress_next_keypress_event_(false) {}
|
| + : web_local_frame_(web_local_frame) {}
|
|
|
| WebInputMethodControllerImpl::~WebInputMethodControllerImpl() {}
|
|
|
| @@ -77,15 +77,6 @@ bool WebInputMethodControllerImpl::SetComposition(
|
| return false;
|
| }
|
|
|
| - // A keypress event is canceled. If an ongoing composition exists, then the
|
| - // keydown event should have arisen from a handled key (e.g., backspace).
|
| - // In this case we ignore the cancellation and continue; otherwise (no
|
| - // ongoing composition) we exit and signal success only for attempts to
|
| - // clear the composition.
|
| - if (suppress_next_keypress_event_ &&
|
| - !GetInputMethodController().HasComposition())
|
| - return text.IsEmpty();
|
| -
|
| UserGestureIndicator gesture_indicator(DocumentUserGestureToken::Create(
|
| GetFrame()->GetDocument(), UserGestureToken::kNewGesture));
|
|
|
|
|