| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index b99f8a0d556e9858c64ce244be4d0773e57d4f08..7bbdfdcca736d80b5c22d3c7fd95acc2b3059a03 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -2555,11 +2555,10 @@ void RenderFrameImpl::addNavigationTransitionData(
|
| allowed_destination_host_pattern.utf8();
|
| params.selector = selector.utf8();
|
| params.markup = markup.utf8();
|
| + params.elements.resize(web_names.size());
|
| for (size_t i = 0; i < web_names.size(); i++) {
|
| - params.names.push_back(web_names[i].utf8());
|
| - }
|
| - for (size_t i = 0; i < web_rects.size(); i++) {
|
| - params.rects.push_back(gfx::Rect(web_rects[i]));
|
| + params.elements[i].name = web_names[i].utf8();
|
| + params.elements[i].rect = gfx::Rect(web_rects[i]);
|
| }
|
|
|
| Send(new FrameHostMsg_AddNavigationTransitionData(params));
|
|
|