[Debug] removed usage of a deprecated class (closes #8992)

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #8992
| License       | MIT
| Doc PR        | n/a