fix: enable navigator.setAppBadge/clearAppBadge (#27067)
This commit is contained in:
parent
8b74361b0c
commit
c5a41defbd
19 changed files with 481 additions and 41 deletions
|
@ -1209,7 +1209,9 @@ void NativeWindowViews::SetProgressBar(double progress,
|
|||
void NativeWindowViews::SetOverlayIcon(const gfx::Image& overlay,
|
||||
const std::string& description) {
|
||||
#if defined(OS_WIN)
|
||||
taskbar_host_.SetOverlayIcon(GetAcceleratedWidget(), overlay, description);
|
||||
SkBitmap overlay_bitmap = overlay.AsBitmap();
|
||||
taskbar_host_.SetOverlayIcon(GetAcceleratedWidget(), overlay_bitmap,
|
||||
description);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue