Commit 53f2d769 authored by dcheng's avatar dcheng Committed by Commit bot

Remove testing early return in RenderFrame::willSendRequest

Noticed this while reading some random code. Nothing appears
to actually depend on this early return, so just remove it.

BUG=none

Review-Url: https://codereview.chromium.org/2390353002
Cr-Commit-Position: refs/heads/master@{#423048}
parent 03b6108c
......@@ -3962,9 +3962,6 @@ void RenderFrameImpl::saveImageFromDataURL(const blink::WebString& data_url) {
void RenderFrameImpl::willSendRequest(blink::WebLocalFrame* frame,
blink::WebURLRequest& request) {
DCHECK_EQ(frame_, frame);
// The request my be empty during tests.
if (request.url().isEmpty())
return;
// Set the first party for cookies url if it has not been set yet (new
// requests). This value will be updated during redirects, consistent with
......
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