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

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

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 | « no previous file | chrome/browser/media_gallery/media_gallery_database_types.cc » ('j') | 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.h
diff --git a/chrome/browser/media_gallery/media_gallery_database_types.h b/chrome/browser/media_gallery/media_gallery_database_types.h
index b043238c6c6a451b06832e437f309054f13e5626..9623e8604165da43165a0b4afc0d70ba85cc4a86 100644
--- a/chrome/browser/media_gallery/media_gallery_database_types.h
+++ b/chrome/browser/media_gallery/media_gallery_database_types.h
@@ -16,7 +16,7 @@ typedef int CollectionId;
struct CollectionRow {
public:
CollectionRow();
- CollectionRow(FilePath path,
+ CollectionRow(const FilePath& path,
base::Time last_modified_time,
int entry_count,
bool all_parsed);
« no previous file with comments | « no previous file | chrome/browser/media_gallery/media_gallery_database_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698