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

Unified Diff: chrome/browser/ui/ash/system_tray_delegate_chromeos.cc

Issue 1320013006: Return const by ref instead of value (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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/ash/system_tray_delegate_chromeos.cc
diff --git a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
index 31c4c04b18dd569653119973e3646aa76e3b1dcb..fe7e317554221518684922095927fd033b319391 100644
--- a/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
+++ b/chrome/browser/ui/ash/system_tray_delegate_chromeos.cc
@@ -386,7 +386,7 @@ void SystemTrayDelegateChromeOS::ChangeProfilePicture() {
ShowSettingsSubPageForActiveUser(chrome::kChangeProfilePictureSubPage);
}
-const std::string SystemTrayDelegateChromeOS::GetEnterpriseDomain() const {
+const std::string& SystemTrayDelegateChromeOS::GetEnterpriseDomain() const {
return enterprise_domain_;
}

Powered by Google App Engine
This is Rietveld 408576698