Round-trip origin through url::Origin before IPC to PluginRegistry.

This restores the previous (non-crashing) behavior while we contemplate what
the right fix for this is.

Bug: 862282
Change-Id: Ie4fe333f7ff01224db252d2cc6f3e83922122a8d
Reviewed-on: https://chromium-review.googlesource.com/1138821
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Jeremy Roman <jbroman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#575711}
6 files changed