mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
It fixes crash in tests on Windows
Notification delegate copies the notification ID string instead of storing reference.
This commit is contained in:
@@ -32,7 +32,7 @@ class NotificationDelegate {
|
||||
virtual void NotificationDisplayed();
|
||||
|
||||
private:
|
||||
const std::string& notification_id_;
|
||||
const std::string notification_id_;
|
||||
|
||||
DISALLOW_COPY_AND_ASSIGN(NotificationDelegate);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user