Use updated SafeLoadLibrary from lib_base.

This commit is contained in:
John Preston 2021-07-01 00:12:34 +03:00
parent 9255d71038
commit 3a51a253cd

View file

@ -94,7 +94,7 @@ HRESULT WinApiSetWindowTheme(
LPCWSTR pszSubAppName,
LPCWSTR pszSubIdList);
auto result = f_SetWindowTheme();
const auto loaded = base::Platform::SafeLoadLibrary(u"uxtheme.dll"_q);
const auto loaded = base::Platform::SafeLoadLibrary(L"uxtheme.dll");
base::Platform::LoadMethod(loaded, "SetWindowTheme", result);
return result;
}();