Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1719)

Unified Diff: chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc

Issue 1349783006: Cleanup: Pass std::string as const reference if possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revert third_party changes Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
diff --git a/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc b/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
index acfdadb606f73f3e3f9d66d5450d8c5cf7eaacd2..6b6e035c71d6c4dcf5c9a2541a3aad1c5b0ef7a8 100644
--- a/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
+++ b/chrome/browser/ui/views/message_center/web_notification_tray_browsertest.cc
@@ -46,7 +46,7 @@ class WebNotificationTrayTest : public InProcessBrowserTest {
protected:
class TestNotificationDelegate : public ::NotificationDelegate {
public:
- explicit TestNotificationDelegate(std::string id) : id_(id) {}
+ explicit TestNotificationDelegate(const std::string& id) : id_(id) {}
std::string id() const override { return id_; }
private:

Powered by Google App Engine
This is Rietveld 408576698