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

Unified Diff: chrome/browser/memory_details_win.cc

Issue 6676015: Coverity: Pass values by reference. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win/Mac fix. Created 9 years, 9 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/memory_details_mac.cc ('k') | chrome/browser/net/url_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/memory_details_win.cc
diff --git a/chrome/browser/memory_details_win.cc b/chrome/browser/memory_details_win.cc
index c8e5b157622f848869c9f5a6d0fe3fbd0efb17c4..c954a8e8dffd38bcf0fe931c31ec3794edaa4e6b 100644
--- a/chrome/browser/memory_details_win.cc
+++ b/chrome/browser/memory_details_win.cc
@@ -65,7 +65,7 @@ ProcessData* MemoryDetails::ChromeBrowser() {
}
void MemoryDetails::CollectProcessData(
- std::vector<ProcessMemoryInformation> child_info) {
+ const std::vector<ProcessMemoryInformation>& child_info) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::FILE));
// Clear old data.
« no previous file with comments | « chrome/browser/memory_details_mac.cc ('k') | chrome/browser/net/url_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698