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

Unified Diff: chrome/browser/media_gallery/media_gallery_database_types.cc

Issue 10382165: Coverity: Fix pass by value error in media_gallery_database_types. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/browser/media_gallery/media_gallery_database_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media_gallery/media_gallery_database_types.cc
diff --git a/chrome/browser/media_gallery/media_gallery_database_types.cc b/chrome/browser/media_gallery/media_gallery_database_types.cc
index 93db44db8a653651c190a520a053c6796813f2bd..76418c961da18a47938fcdc9e4e2e363e06dab12 100644
--- a/chrome/browser/media_gallery/media_gallery_database_types.cc
+++ b/chrome/browser/media_gallery/media_gallery_database_types.cc
@@ -11,7 +11,7 @@ CollectionRow::CollectionRow()
entry_count(0),
all_parsed(false) { }
-CollectionRow::CollectionRow(FilePath path,
+CollectionRow::CollectionRow(const FilePath& path,
base::Time last_modified_time,
int entry_count,
bool all_parsed)
« no previous file with comments | « chrome/browser/media_gallery/media_gallery_database_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698