It fixes crash in tests on Windows

Notification delegate copies the notification ID string
instead of storing reference.
This commit is contained in:
Tomas Rycl 2017-10-18 09:33:21 +00:00 committed by Cheng Zhao
parent e321a4a433
commit c9b7fc2922

View file

@ -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);
};