diff --git a/engine/src/flutter/shell/platform/glfw/flutter_glfw.cc b/engine/src/flutter/shell/platform/glfw/flutter_glfw.cc index 968830a5f14..e8b017106d1 100644 --- a/engine/src/flutter/shell/platform/glfw/flutter_glfw.cc +++ b/engine/src/flutter/shell/platform/glfw/flutter_glfw.cc @@ -652,7 +652,7 @@ static void SetUpCommonEngineState(FlutterDesktopEngineState* state, // System channel handler. state->platform_handler = std::make_unique( - state->internal_plugin_registrar->messenger(), nullptr); + state->internal_plugin_registrar->messenger(), window); } bool FlutterDesktopInit() {