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

Unified Diff: chrome/browser/extensions/apps_promo.cc

Issue 8965046: Coverity: Fixing pass by value bugs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixing 100534 Created 9 years 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
« no previous file with comments | « chrome/browser/extensions/apps_promo.h ('k') | net/base/cookie_monster.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/apps_promo.cc
diff --git a/chrome/browser/extensions/apps_promo.cc b/chrome/browser/extensions/apps_promo.cc
index 38483a33162ba4019a14563d1707d10703b87bc6..e5c9681dea322de90e947109f55cdf6c98f793c0 100644
--- a/chrome/browser/extensions/apps_promo.cc
+++ b/chrome/browser/extensions/apps_promo.cc
@@ -312,7 +312,7 @@ AppsPromo::UserGroup AppsPromo::GetCurrentUserGroup() const {
AppsPromoLogoFetcher::AppsPromoLogoFetcher(
Profile* profile,
- AppsPromo::PromoData promo_data)
+ const AppsPromo::PromoData& promo_data)
: profile_(profile),
promo_data_(promo_data) {
if (SupportsLogoURL()) {
« no previous file with comments | « chrome/browser/extensions/apps_promo.h ('k') | net/base/cookie_monster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698