It fixes crash in tests on Windows
Notification delegate copies the notification ID string instead of storing reference.
This commit is contained in:
parent
e321a4a433
commit
c9b7fc2922
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue