| Index: content/renderer/render_view_impl.cc
|
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
|
| index 02d10eef72ef75cf52a588c162e4656b4ac047d3..f2b2e9fa1dfff84f9a6fb12d77544d1b39613803 100644
|
| --- a/content/renderer/render_view_impl.cc
|
| +++ b/content/renderer/render_view_impl.cc
|
| @@ -1447,10 +1447,8 @@ void RenderViewImpl::OnSaveImageAt(int x, int y) {
|
|
|
| void RenderViewImpl::OnUpdateTargetURLAck() {
|
| // Check if there is a targeturl waiting to be sent.
|
| - if (target_url_status_ == TARGET_PENDING) {
|
| - Send(new ViewHostMsg_UpdateTargetURL(routing_id_, page_id_,
|
| - pending_target_url_));
|
| - }
|
| + if (target_url_status_ == TARGET_PENDING)
|
| + Send(new ViewHostMsg_UpdateTargetURL(routing_id_, pending_target_url_));
|
|
|
| target_url_status_ = TARGET_NONE;
|
| }
|
| @@ -1891,7 +1889,7 @@ void RenderViewImpl::UpdateTargetURL(const GURL& url,
|
| // see |ParamTraits<GURL>|.
|
| if (latest_url.possibly_invalid_spec().size() > GetMaxURLChars())
|
| latest_url = GURL();
|
| - Send(new ViewHostMsg_UpdateTargetURL(routing_id_, page_id_, latest_url));
|
| + Send(new ViewHostMsg_UpdateTargetURL(routing_id_, latest_url));
|
| target_url_ = latest_url;
|
| target_url_status_ = TARGET_INFLIGHT;
|
| }
|
|
|