diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-02-13 14:29:19 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-02-13 14:49:33 +0000 |
commit | 1f8154cd473bf57aad59ef1c4cf7c9a3be9a823d (patch) | |
tree | 6ded691810f7956ff96d895234c5e74f8f7413bd /src/core | |
parent | 309814bd7a160c44f91bf61c787af555a10a8eed (diff) |
Initialize RenderWidgetHostViewQt::m_currentInputType
inputMethodQuery can be called before TextInputStateChanged has
initialized m_currentInputType.
Change-Id: Icba5a622df0332b740477cd2d966f0dea5d86138
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/render_widget_host_view_qt.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/render_widget_host_view_qt.cpp b/src/core/render_widget_host_view_qt.cpp index 80337446f..a190380b2 100644 --- a/src/core/render_widget_host_view_qt.cpp +++ b/src/core/render_widget_host_view_qt.cpp @@ -238,6 +238,7 @@ RenderWidgetHostViewQt::RenderWidgetHostViewQt(content::RenderWidgetHost* widget , m_needsDelegatedFrameAck(false) , m_loadVisuallyCommittedState(NotCommitted) , m_adapterClient(0) + , m_currentInputType(ui::TEXT_INPUT_TYPE_NONE) , m_imeInProgress(false) , m_receivedEmptyImeText(false) , m_anchorPositionWithinSelection(0) |