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

Unified Diff: chrome/test/chrome_process_util.h

Issue 504068: Revert 34994, maybe it regressed startup perf - Fix cpu/memory measurements o... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 11 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/common/mach_ipc_mac.mm ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/chrome_process_util.h
===================================================================
--- chrome/test/chrome_process_util.h (revision 35019)
+++ chrome/test/chrome_process_util.h (working copy)
@@ -57,12 +57,7 @@
private:
explicit ChromeTestProcessMetrics(base::ProcessHandle process) {
- process_metrics_.reset(
-#if !defined(OS_MACOSX)
- base::ProcessMetrics::CreateProcessMetrics(process));
-#else
- base::ProcessMetrics::CreateProcessMetrics(process, NULL));
-#endif
+ process_metrics_.reset(base::ProcessMetrics::CreateProcessMetrics(process));
process_handle_ = process;
}
« no previous file with comments | « chrome/common/mach_ipc_mac.mm ('k') | webkit/glue/webkitclient_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698