diff --git a/shell/platform/tizen/channels/text_input_channel.cc b/shell/platform/tizen/channels/text_input_channel.cc index 4e19abad43bb6..dfd6ad64c16cd 100644 --- a/shell/platform/tizen/channels/text_input_channel.cc +++ b/shell/platform/tizen/channels/text_input_channel.cc @@ -267,8 +267,8 @@ void TextInputChannel::HandleMethodCall( if (composing_base_value == -1 && composing_extent_value == -1) { active_model_->EndComposing(); } else { - size_t composing_start = - std::min(composing_base_value, composing_extent_value); + size_t composing_start = static_cast( + std::min(composing_base_value, composing_extent_value)); size_t cursor_offset = selection_base_value - composing_start; active_model_->SetComposingRange( diff --git a/shell/platform/tizen/flutter_tizen_engine.cc b/shell/platform/tizen/flutter_tizen_engine.cc index aeea1ed50957c..24832dfdc49da 100644 --- a/shell/platform/tizen/flutter_tizen_engine.cc +++ b/shell/platform/tizen/flutter_tizen_engine.cc @@ -348,8 +348,8 @@ void FlutterTizenEngine::SendWindowMetrics(int32_t width, double pixel_ratio) { FlutterWindowMetricsEvent event = {}; event.struct_size = sizeof(FlutterWindowMetricsEvent); - event.width = width; - event.height = height; + event.width = static_cast(width); + event.height = static_cast(height); if (pixel_ratio == 0.0) { // The scale factor is computed based on the display DPI and the current // profile. A fixed DPI value (72) is used on TVs. See: diff --git a/shell/platform/tizen/public/flutter_platform_view.h b/shell/platform/tizen/public/flutter_platform_view.h index 36efa93b8e9e7..48d89a72d557b 100644 --- a/shell/platform/tizen/public/flutter_platform_view.h +++ b/shell/platform/tizen/public/flutter_platform_view.h @@ -59,7 +59,8 @@ class PlatformView { class PlatformViewFactory { public: PlatformViewFactory(flutter::PluginRegistrar* registrar) - : registrar_(registrar), + : platform_window_(nullptr), + registrar_(registrar), codec_(flutter::StandardMessageCodec::GetInstance(nullptr)) {} virtual ~PlatformViewFactory() {} flutter::PluginRegistrar* GetPluginRegistrar() { return registrar_; } diff --git a/shell/platform/tizen/tizen_input_method_context.cc b/shell/platform/tizen/tizen_input_method_context.cc index 458aec3b7536c..019d0b2333f06 100644 --- a/shell/platform/tizen/tizen_input_method_context.cc +++ b/shell/platform/tizen/tizen_input_method_context.cc @@ -22,7 +22,6 @@ const char* GetEcoreImfContextAvailableId() { Ecore_IMF_Input_Panel_Layout TextInputTypeToEcoreIMFInputPanelLayout( const std::string& text_input_type) { - FT_ASSERT(panel_layout); if (text_input_type == "TextInputType.text" || text_input_type == "TextInputType.multiline") { return ECORE_IMF_INPUT_PANEL_LAYOUT_NORMAL;