| Index: content/browser/frame_host/navigation_handle_impl.cc
|
| diff --git a/content/browser/frame_host/navigation_handle_impl.cc b/content/browser/frame_host/navigation_handle_impl.cc
|
| index 49028c2804dba1168b2d86e40aefef7a32d92cac..46b290ca649492e0c589d2cf07e9792ce4a02512 100644
|
| --- a/content/browser/frame_host/navigation_handle_impl.cc
|
| +++ b/content/browser/frame_host/navigation_handle_impl.cc
|
| @@ -821,11 +821,6 @@ void NavigationHandleImpl::RegisterNavigationThrottles() {
|
| std::vector<std::unique_ptr<NavigationThrottle>> throttles_to_register =
|
| GetDelegate()->CreateThrottlesForNavigation(this);
|
|
|
| - std::unique_ptr<NavigationThrottle> mixed_content_throttle =
|
| - MixedContentNavigationThrottle::CreateThrottleForNavigation(this);
|
| - if (mixed_content_throttle)
|
| - throttles_to_register.push_back(std::move(mixed_content_throttle));
|
| -
|
| std::unique_ptr<NavigationThrottle> devtools_throttle =
|
| RenderFrameDevToolsAgentHost::CreateThrottleForNavigation(this);
|
| if (devtools_throttle)
|
| @@ -841,6 +836,11 @@ void NavigationHandleImpl::RegisterNavigationThrottles() {
|
| if (ancestor_throttle)
|
| throttles_.push_back(std::move(ancestor_throttle));
|
|
|
| + std::unique_ptr<NavigationThrottle> mixed_content_throttle =
|
| + MixedContentNavigationThrottle::CreateThrottleForNavigation(this);
|
| + if (mixed_content_throttle)
|
| + throttles_to_register.push_back(std::move(mixed_content_throttle));
|
| +
|
| throttles_.insert(throttles_.begin(),
|
| std::make_move_iterator(throttles_to_register.begin()),
|
| std::make_move_iterator(throttles_to_register.end()));
|
|
|