Make sure dispatchFailLoad is triggered by stopLoading
Make sure dispatchFailLoad is triggered by stopLoading

Calling ResourceFetcher::stopFetching before
DocumentLoader::cancelMainResourceLoad may trigger a
dispatchDidFinishLoad instead of the expected dispatchFailLoad. This
patch reverts to the former ordering of the calls, which solves the
problem.

BUG=501248

Review URL: https://codereview.chromium.org/1205703006

git-svn-id: bf5cd6ccde378db821296732a091cfbcf5285fbd@197901 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk,Pluto-tv/blink-crosswalk