Index: runtime/vm/profiler_service.cc |
diff --git a/runtime/vm/profiler_service.cc b/runtime/vm/profiler_service.cc |
index 87fe0d04c541b99b5f717be2e74dbf38f1e923ac..29be014086d9a1bcc08952c28480af259b485ccd 100644 |
--- a/runtime/vm/profiler_service.cc |
+++ b/runtime/vm/profiler_service.cc |
@@ -2166,7 +2166,7 @@ void ProfilerService::PrintJSON(JSONStream* stream, TagOrder tag_order) { |
MutexLocker profiler_data_lock(isolate->profiler_data_mutex()); |
IsolateProfilerData* profiler_data = isolate->profiler_data(); |
if (profiler_data == NULL) { |
- stream->PrintError(kProfilingDisabled, NULL); |
+ stream->PrintError(kFeatureDisabled, NULL); |
return; |
} |
SampleBuffer* sample_buffer = profiler_data->sample_buffer(); |