Skip to content
Commit eeadd3b1 authored by jam's avatar jam Committed by Commit bot
Browse files

Fix assert with distiller code caused by r419635.

The change had a bug because previously WebContentsObserver::DidNavigateMainFrame was listened to which is only called for main frame successful navigations. It was switched to WebContentsObserver::DidFinishNavigation so that it can work with PlzNavigate. However that method is called in more situations, so restrict it to maintain the old behavior.

BUG=650472

Review-Url: https://codereview.chromium.org/2369923003
Cr-Commit-Position: refs/heads/master@{#421233}
parent 2c697de2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment