summaryrefslogtreecommitdiffstats
path: root/content/browser/profiler_controller_impl.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-13 20:56:34 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-13 20:56:34 +0000
commit94eee3b79d961347a4e9219f4385ab6d24bec707 (patch)
tree389addbe82381925f9313ab902afa443ccb2e010 /content/browser/profiler_controller_impl.cc
parentc07cfcd766e2781d3b21e0d30ee0da33af14c39e (diff)
downloadchromium_src-94eee3b79d961347a4e9219f4385ab6d24bec707.zip
chromium_src-94eee3b79d961347a4e9219f4385ab6d24bec707.tar.gz
chromium_src-94eee3b79d961347a4e9219f4385ab6d24bec707.tar.bz2
Get rid of unnecessary accessors in BrowserProcessHost that were transitional, in preparetion for turning it into an interface.
BUG=98716 Review URL: http://codereview.chromium.org/9211004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117690 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/profiler_controller_impl.cc')
-rw-r--r--content/browser/profiler_controller_impl.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/browser/profiler_controller_impl.cc b/content/browser/profiler_controller_impl.cc
index 382b65f..4b55357 100644
--- a/content/browser/profiler_controller_impl.cc
+++ b/content/browser/profiler_controller_impl.cc
@@ -76,7 +76,7 @@ void ProfilerControllerImpl::GetProfilerDataFromChildProcesses(
for (BrowserChildProcessHost::Iterator child_process_host;
!child_process_host.Done(); ++child_process_host) {
const std::string process_type =
- content::GetProcessTypeNameInEnglish(child_process_host->type());
+ content::GetProcessTypeNameInEnglish(child_process_host->data().type);
++pending_processes;
if (!child_process_host->Send(new ChildProcessMsg_GetChildProfilerData(
sequence_number, process_type))) {