Handle ui::TEXT_INPUT_TYPE_NONE in im_context_efl.cc
authorPiotr Tworek <p.tworek@samsung.com>
Thu, 30 Apr 2015 11:42:22 +0000 (13:42 +0200)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 06:57:09 +0000 (06:57 +0000)
Without this the NOTREACHED() assert in default case can fail in certain
test scenarios.

Change-Id: Icbf9cefc8c9dc30f6f645b399c35ee1df6c8e6dd
Signed-off-by: Piotr Tworek <p.tworek@samsung.com>
tizen_src/chromium_impl/content/browser/renderer_host/im_context_efl.cc

index fbbfe16..566a049 100644 (file)
@@ -190,6 +190,9 @@ void IMContextEfl::UpdateInputMethodType(ui::TextInputType type,
       layout = ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL;
       break;
 
+    case ui::TEXT_INPUT_TYPE_NONE:
+      return;
+
     default:
       NOTREACHED();
       return;