From f9dc4ef6d80b981d2711d113812b7c77d8dbb06b Mon Sep 17 00:00:00 2001 From: Chad Little Date: Thu, 5 Mar 2015 08:45:51 -0800 Subject: [PATCH] Set device true on all XHProf pages Summary: Pass this as true when building XHProf pages Test Plan: Verify setDeviceReady exists in class PhabricatorBarePageView Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11980 --- .../xhprof/controller/PhabricatorXHProfController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/xhprof/controller/PhabricatorXHProfController.php b/src/applications/xhprof/controller/PhabricatorXHProfController.php index 9129c688de..6c595d1455 100644 --- a/src/applications/xhprof/controller/PhabricatorXHProfController.php +++ b/src/applications/xhprof/controller/PhabricatorXHProfController.php @@ -10,6 +10,7 @@ abstract class PhabricatorXHProfController extends PhabricatorController { $page->setTitle(idx($data, 'title')); $page->setGlyph("\xE2\x98\x84"); $page->appendChild($view); + $page->setDeviceReady(true); $response = new AphrontWebpageResponse();