| Index: chrome/browser/ui/webui/profiler_ui.cc
|
| diff --git a/chrome/browser/ui/webui/profiler_ui.cc b/chrome/browser/ui/webui/profiler_ui.cc
|
| index 36376ad09457dac00ef6e93ab96a18a0ea5a793b..8c0eacf5b03c2ae2817de01cfaecac7398340cc0 100644
|
| --- a/chrome/browser/ui/webui/profiler_ui.cc
|
| +++ b/chrome/browser/ui/webui/profiler_ui.cc
|
| @@ -14,6 +14,7 @@
|
| // #define USE_SOURCE_FILES_DIRECTLY
|
|
|
| #include "base/bind.h"
|
| +#include "base/debug/debugging_flags.h"
|
| #include "base/macros.h"
|
| #include "base/strings/string_util.h"
|
| #include "base/tracked_objects.h"
|
| @@ -105,6 +106,9 @@ content::WebUIDataSource* CreateProfilerHTMLSource() {
|
| source->AddResourcePath("profiler.js", IDR_PROFILER_JS);
|
| source->SetDefaultResource(IDR_PROFILER_HTML);
|
| source->DisableI18nAndUseGzipForAllPaths();
|
| + source->AddBoolean("enableMemoryTaskProfiler",
|
| + BUILDFLAG(ENABLE_MEMORY_TASK_PROFILER));
|
| +
|
| return source;
|
| }
|
|
|
|
|