diff --git a/shell/platform/embedder/embedder.cc b/shell/platform/embedder/embedder.cc index 2e226a3d2c034..d8e1854e6b5df 100644 --- a/shell/platform/embedder/embedder.cc +++ b/shell/platform/embedder/embedder.cc @@ -89,6 +89,7 @@ static bool IsRendererValid(const FlutterRendererConfig* config) { return false; } +#if OS_LINUX || OS_WIN static void* DefaultGLProcResolver(const char* name) { static fml::RefPtr proc_library = #if OS_LINUX @@ -99,6 +100,7 @@ static void* DefaultGLProcResolver(const char* name) { return static_cast( const_cast(proc_library->ResolveSymbol(name))); } +#endif // OS_LINUX || OS_WIN static shell::Shell::CreateCallback InferOpenGLPlatformViewCreationCallback(