[Global] Update refs to UI.actionRegistry

Bug: 1006759
Change-Id: I72e02ac9ec54c7d8a1edc8b3d4cb471dff7fde7c
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2019136
Commit-Queue: Paul Lewis <[email protected]>
Reviewed-by: Tim van der Lippe <[email protected]>
diff --git a/front_end/resources/BackgroundServiceView.js b/front_end/resources/BackgroundServiceView.js
index 6b67941..994f904 100644
--- a/front_end/resources/BackgroundServiceView.js
+++ b/front_end/resources/BackgroundServiceView.js
@@ -56,7 +56,8 @@
 
 
     /** @const {!UI.Action} */
-    this._recordAction = /** @type {!UI.Action} */ (UI.actionRegistry.action('background-service.toggle-recording'));
+    this._recordAction =
+        /** @type {!UI.Action} */ (self.UI.actionRegistry.action('background-service.toggle-recording'));
     /** @type {?UI.ToolbarButton} */
     this._recordButton = null;