| Index: chrome/browser/metrics/metrics_service.cc
|
| ===================================================================
|
| --- chrome/browser/metrics/metrics_service.cc (revision 110303)
|
| +++ chrome/browser/metrics/metrics_service.cc (working copy)
|
| @@ -178,8 +178,8 @@
|
| #include "chrome/common/render_messages.h"
|
| #include "content/browser/load_notification_details.h"
|
| #include "content/browser/plugin_service.h"
|
| -#include "content/browser/renderer_host/render_process_host.h"
|
| #include "content/public/browser/notification_service.h"
|
| +#include "content/public/browser/render_process_host.h"
|
| #include "content/public/common/url_fetcher.h"
|
| #include "webkit/plugins/webplugininfo.h"
|
|
|
| @@ -1242,10 +1242,10 @@
|
| void MetricsService::LogRendererCrash(RenderProcessHost* host,
|
| base::TerminationStatus status,
|
| bool was_alive) {
|
| - Profile* profile = Profile::FromBrowserContext(host->browser_context());
|
| + Profile* profile = Profile::FromBrowserContext(host->GetBrowserContext());
|
| ExtensionService* service = profile->GetExtensionService();
|
| bool was_extension_process =
|
| - service && service->process_map()->Contains(host->id());
|
| + service && service->process_map()->Contains(host->GetID());
|
| if (status == base::TERMINATION_STATUS_PROCESS_CRASHED ||
|
| status == base::TERMINATION_STATUS_ABNORMAL_TERMINATION) {
|
| if (was_extension_process)
|
|
|