| Index: chrome/test/perf/page_cycler_test.cc
|
| diff --git a/chrome/test/perf/page_cycler_test.cc b/chrome/test/perf/page_cycler_test.cc
|
| index 4354faf8d89eeedd5589142a474cedcdd3757728..fc282fba4d6d1a66526741f5ff055f74eda8a0cf 100644
|
| --- a/chrome/test/perf/page_cycler_test.cc
|
| +++ b/chrome/test/perf/page_cycler_test.cc
|
| @@ -130,6 +130,7 @@ class PageCyclerTest : public UIPerfTest {
|
| num_test_iterations_(kTestIterations) {
|
| show_window_ = true;
|
| dom_automation_enabled_ = true;
|
| + stats_collection_extension_enabled_ = true;
|
|
|
| const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
|
| if (parsed_command_line.HasSwitch(switches::kPageCyclerIterations)) {
|
| @@ -277,8 +278,8 @@ class PageCyclerTest : public UIPerfTest {
|
| ASSERT_TRUE(tab->ExecuteAndExtractString(
|
| L"",
|
| L"window.domAutomationController.send("
|
| - L"window.domAutomationController.getHistogram ? "
|
| - L"window.domAutomationController.getHistogram(\"" +
|
| + L"window.statsCollectionExtension.getHistogram ? "
|
| + L"window.statsCollectionExtension.getHistogram(\"" +
|
| base::SysUTF8ToWide(name) + L"\") : '')",
|
| &whistogram));
|
| std::string histogram = base::SysWideToNativeMB(whistogram);
|
|
|