summaryrefslogtreecommitdiffstats
path: root/chrome/browser/memory_details_win.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 15:09:55 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-20 15:09:55 +0000
commita4dc33f2e485e586cc3fb03142c2800249fe9ced (patch)
tree0ea6b3a6fa9ee5dfcec478ca986ead1f8014bec9 /chrome/browser/memory_details_win.cc
parenta8c085ff7b9dfc2ae719e279363d37a24918f067 (diff)
downloadchromium_src-a4dc33f2e485e586cc3fb03142c2800249fe9ced.zip
chromium_src-a4dc33f2e485e586cc3fb03142c2800249fe9ced.tar.gz
chromium_src-a4dc33f2e485e586cc3fb03142c2800249fe9ced.tar.bz2
Cleanup: change PIDs to base::ProcessId (or pid_t, as appropriate).
We probably want to discourage the use of ints for PIDs. This is a start; there are many other places where we should fix this. BUG=25272 TEST=none Review URL: http://codereview.chromium.org/300010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29511 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/memory_details_win.cc')
-rw-r--r--chrome/browser/memory_details_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/memory_details_win.cc b/chrome/browser/memory_details_win.cc
index 4c3d8be..56aa9fb 100644
--- a/chrome/browser/memory_details_win.cc
+++ b/chrome/browser/memory_details_win.cc
@@ -85,7 +85,7 @@ void MemoryDetails::CollectProcessData(
return;
}
do {
- int pid = process_entry.th32ProcessID;
+ base::ProcessId pid = process_entry.th32ProcessID;
ScopedHandle handle(::OpenProcess(
PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, pid));
if (!handle.Get())