| Index: chrome/browser/automation/testing_automation_provider.cc
|
| diff --git a/chrome/browser/automation/testing_automation_provider.cc b/chrome/browser/automation/testing_automation_provider.cc
|
| index fd1abfa264872c3018db6bb7af4a510bc0b7d152..3cccc86ae037adb7735d0257e10c7c2fe902bc81 100644
|
| --- a/chrome/browser/automation/testing_automation_provider.cc
|
| +++ b/chrome/browser/automation/testing_automation_provider.cc
|
| @@ -4199,8 +4199,9 @@ void TestingAutomationProvider::HeapProfilerDump(
|
| return;
|
| }
|
|
|
| - TabContents* tab_contents = TabContents::FromWebContents(web_contents);
|
| - tab_contents->automation_tab_helper()->HeapProfilerDump(reason_string);
|
| + AutomationTabHelper* automation_tab_helper =
|
| + AutomationTabHelper::FromWebContents(web_contents);
|
| + automation_tab_helper->HeapProfilerDump(reason_string);
|
| reply.SendSuccess(NULL);
|
| return;
|
| }
|
|
|