Fix DomDistillerViewerSource to work with PlzNavigate.
In particular, the render frame ID isn't known at navigate time. I'll change content::URLDataSource::StartDataRequest to take a WebContentsGetter in a followup which will complete this fix, but I wanted to separate that mechanical change to 40+ consumers from this actual fix. The other fix here is to delay the code which makes a Mojo call and sets up an interface factory until the load commits, since that's when the main frame will be committed with PlzNavigate. I've verified that this is still early enough for dom distiller's needs. BUG=576275 Review-Url: https://codereview.chromium.org/2353603002 Cr-Commit-Position: refs/heads/master@{#419635}
Showing
Please register or sign in to comment