diff --git a/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php b/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php index 65ca5593f3..5faab70c7a 100644 --- a/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php +++ b/src/applications/xhprof/controller/PhabricatorXHProfSampleListController.php @@ -87,11 +87,12 @@ final class PhabricatorXHProfSampleListController $crumbs = $this->buildApplicationCrumbs(); $crumbs->addTextCrumb(pht('XHProf Samples')); - return $this->buildApplicationPage( - array($crumbs, $list), - array( - 'title' => pht('XHProf Samples'), - )); + $title = pht('XHProf Samples'); + + return $this->newPage() + ->setTitle($title) + ->setCrumbs($crumbs) + ->appendChild($list); } }