Chromium Code Reviews| 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 beb742447a27e46ce7ed905f6cd4b0850d35bfc4..9bdce7104f41b81ee87345a12857f4fbe50c447e 100644 |
| --- a/content/browser/frame_host/navigation_handle_impl.cc |
| +++ b/content/browser/frame_host/navigation_handle_impl.cc |
| @@ -17,6 +17,7 @@ |
| #include "content/common/frame_messages.h" |
| #include "content/common/resource_request_body_impl.h" |
| #include "content/public/browser/content_browser_client.h" |
| +#include "content/public/browser/navigation_ui_data.h" |
| #include "content/public/common/browser_side_navigation_policy.h" |
| #include "content/public/common/content_client.h" |
| #include "content/public/common/url_constants.h" |
| @@ -383,6 +384,10 @@ void NavigationHandleImpl::WillStartRequest( |
| RegisterNavigationThrottles(); |
| + if (IsBrowserSideNavigationEnabled()) { |
|
nasko
2016/09/28 17:28:31
nit: No need for {}.
clamy
2016/09/29 15:56:21
Done.
|
| + navigation_ui_data_ = GetDelegate()->GetNavigationUIData(this); |
| + } |
| + |
| // Notify each throttle of the request. |
| NavigationThrottle::ThrottleCheckResult result = CheckWillStartRequest(); |