| Index: content/browser/frame_host/navigation_controller_android.cc
|
| diff --git a/content/browser/frame_host/navigation_controller_android.cc b/content/browser/frame_host/navigation_controller_android.cc
|
| index 81745177fb98485fba119fce5a7498fb1579a811..1d49c74aebff8a216697d5077e4fb880d9837259 100644
|
| --- a/content/browser/frame_host/navigation_controller_android.cc
|
| +++ b/content/browser/frame_host/navigation_controller_android.cc
|
| @@ -12,6 +12,7 @@
|
| #include "content/browser/frame_host/navigation_entry_impl.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/navigation_controller.h"
|
| +#include "content/public/browser/render_view_host.h"
|
| #include "content/public/browser/ssl_host_state_delegate.h"
|
| #include "jni/NavigationControllerImpl_jni.h"
|
| #include "net/base/data_url.h"
|
| @@ -355,6 +356,7 @@ void NavigationControllerAndroid::SetUseDesktopUserAgent(
|
|
|
| // Set the flag in the NavigationEntry.
|
| entry->SetIsOverridingUserAgent(enabled);
|
| + navigation_controller_->UpdateOverridingUserAgent();
|
|
|
| // Send the override to the renderer.
|
| if (reload_on_state_change) {
|
|
|