Chromium Code Reviews| Index: content/browser/loader/navigation_resource_throttle.cc |
| diff --git a/content/browser/loader/navigation_resource_throttle.cc b/content/browser/loader/navigation_resource_throttle.cc |
| index 41ace38b7b1c1f7f18236becf22035955da49486..e8f9e6ed25b47782c18c8d174c31ec3cc3f92e7e 100644 |
| --- a/content/browser/loader/navigation_resource_throttle.cc |
| +++ b/content/browser/loader/navigation_resource_throttle.cc |
| @@ -81,11 +81,9 @@ NavigationHandleImpl* FindNavigationHandle( |
| } |
| NavigationHandleImpl* navigation_handle = |
| - render_frame_host->frame_tree_node() |
| - ->navigator() |
| - ->GetNavigationHandleForFrameHost(render_frame_host); |
| + render_frame_host->navigation_handle(); |
| if (!navigation_handle) { |
| - SendCheckResultToIOThread(callback, NavigationThrottle::PROCEED); |
| + SendCheckResultToIOThread(callback, NavigationThrottle::CANCEL); |
|
clamy
2016/11/09 18:05:52
Note that this undoes https://codereview.chromium.
|
| return nullptr; |
| } |
| return navigation_handle; |