Associated WebUI Mojo interfaces with navigation.

A number of security checks on the browser side depend on the Mojo
IPCs being synchronized with navigation and will spuriously fail
otherwise.

Fixed: 1155450
Change-Id: I105cbe03ce2500615346efa6ea080213bbe63816
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2596054
Reviewed-by: Nasko Oskov <[email protected]>
Commit-Queue: Daniel Cheng <[email protected]>
Cr-Commit-Position: refs/heads/master@{#838369}
diff --git a/content/common/frame.mojom b/content/common/frame.mojom
index e2f7a504..559d2ee 100644
--- a/content/common/frame.mojom
+++ b/content/common/frame.mojom
@@ -233,8 +233,8 @@
   EnableMojoJsBindings();
 
   // Used to bind WebUI and WebUIHost mojo connections.
-  BindWebUI(pending_receiver<content.mojom.WebUI> receiver,
-            pending_remote<content.mojom.WebUIHost> remote);
+  BindWebUI(pending_associated_receiver<content.mojom.WebUI> receiver,
+            pending_associated_remote<content.mojom.WebUIHost> remote);
 };
 
 // Implemented by a service that provides implementations of the Frame