We need a UTF-16 string here

This commit is contained in:
Paul Betts 2015-02-06 17:00:38 -08:00
parent 1b9649b481
commit ef869fb2ff

View file

@ -630,9 +630,10 @@ void NativeWindowViews::SetOverlayIcon(
HWND frame = views::HWNDForNativeWindow(GetNativeWindow()); HWND frame = views::HWNDForNativeWindow(GetNativeWindow());
std::wstring wstr = std::wstring(description.begin(), description.end());
taskbar->SetOverlayIcon(frame, taskbar->SetOverlayIcon(frame,
IconUtil::CreateHICONFromSkiaBitmap(overlay.AsBitmap()), IconUtil::CreateHICONFromSkBitmap(overlay.AsBitmap()),
description); wstr.c_str());
#endif #endif
} }