| Index: runtime/observatory/lib/src/elements/cpu_profile.dart
|
| diff --git a/runtime/observatory/lib/src/elements/cpu_profile.dart b/runtime/observatory/lib/src/elements/cpu_profile.dart
|
| index 3fc31a2b9558a4f287eeff40dc4369f52f986df4..ed7651b980dafb4b11bd673adf9ba9aea289e66b 100644
|
| --- a/runtime/observatory/lib/src/elements/cpu_profile.dart
|
| +++ b/runtime/observatory/lib/src/elements/cpu_profile.dart
|
| @@ -545,7 +545,7 @@ class CpuProfileElement extends ObservatoryElement {
|
| bool handled = false;
|
| if (e is ServerRpcException) {
|
| ServerRpcException se = e;
|
| - if (se.code == ServerRpcException.kProfilingDisabled) {
|
| + if (se.code == ServerRpcException.kFeatureDisabled) {
|
| state = 'Disabled';
|
| handled = true;
|
| }
|
| @@ -876,7 +876,7 @@ class CpuProfileTableElement extends ObservatoryElement {
|
| bool handled = false;
|
| if (e is ServerRpcException) {
|
| ServerRpcException se = e;
|
| - if (se.code == ServerRpcException.kProfilingDisabled) {
|
| + if (se.code == ServerRpcException.kFeatureDisabled) {
|
| state = 'Disabled';
|
| handled = true;
|
| }
|
|
|