Index: content/renderer/render_frame_impl.cc |
diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc |
index 7d23a41e54ea4897861127b498eea355968a1643..959a43c954533a406916d0a89c5dbaec887a6e5c 100644 |
--- a/content/renderer/render_frame_impl.cc |
+++ b/content/renderer/render_frame_impl.cc |
@@ -2786,6 +2786,11 @@ void RenderFrameImpl::willSendRequest( |
InternalDocumentStateData::FromDocumentState(document_state); |
NavigationState* navigation_state = document_state->navigation_state(); |
ui::PageTransition transition_type = navigation_state->transition_type(); |
+ WebDataSource* frame_ds = frame->provisionalDataSource(); |
+ if (frame_ds && frame_ds->isClientRedirect()) { |
+ transition_type = ui::PageTransitionFromInt( |
+ transition_type | ui::PAGE_TRANSITION_CLIENT_REDIRECT); |
+ } |
GURL request_url(request.url()); |
GURL new_url; |