chore: [gn] fix link errors relating to static members (#13488)

I'm not 100% sure why this is working in the gyp build, but I was getting link errors with these variables being defined in the headers.
This commit is contained in:
Jeremy Apthorp 2018-06-28 14:25:26 -07:00 committed by GitHub
parent d6af3bfcd2
commit 6492732631
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View file

@ -183,6 +183,9 @@ static HBITMAP StretchBitmap(HBITMAP bitmap, unsigned width, unsigned height) {
return result_bitmap;
}
const TCHAR DesktopNotificationController::Toast::class_name_[] =
TEXT("DesktopNotificationToast");
DesktopNotificationController::Toast::Toast(HWND hwnd,
shared_ptr<NotificationData>* data)
: hwnd_(hwnd), data_(*data) {