Commit 36a2856c authored by Bruce Dawson's avatar Bruce Dawson Committed by Commit Bot

Remove non-functional base::debug::Alias call

base::debug::Alias is normally used to force the compiler to retain
local variables by making it think that some external data structure
contains a pointer to them. Passing an arbitrary pointer to Alias has no
effect on the optimizer. Removing this use of Alias will help minimize
confusion.

Bug: 756589
Change-Id: Iab183c96748f555e1b364a0ea714e5b84c0b6829
Reviewed-on: https://chromium-review.googlesource.com/794553Reviewed-by: default avatarRandy Smith <rdsmith@chromium.org>
Reviewed-by: default avatarŁukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#520692}
parent 5e47fa79
...@@ -996,7 +996,6 @@ void ResourceDispatcherHostImpl::CompleteTransfer( ...@@ -996,7 +996,6 @@ void ResourceDispatcherHostImpl::CompleteTransfer(
// Renderer sent transferred_request_request_id and/or // Renderer sent transferred_request_request_id and/or
// transferred_request_child_id that doesn't correspond to an actually // transferred_request_child_id that doesn't correspond to an actually
// transferring loader on the browser side. // transferring loader on the browser side.
base::debug::Alias(pending_loader);
bad_message::ReceivedBadMessage(requester_info->filter(), bad_message::ReceivedBadMessage(requester_info->filter(),
bad_message::RDH_REQUEST_NOT_TRANSFERRING); bad_message::RDH_REQUEST_NOT_TRANSFERRING);
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment