Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(717)

Issue 2686533005: Remove type mismatch condition in requestResource (Closed)

Created:
3 years, 10 months ago by Yoav Weiss
Modified:
3 years, 10 months ago
CC:
chromium-reviews, tyoshino+watch_chromium.org, loading-reviews_chromium.org, gavinp+loader_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, kinuko+watch, Nate Chapin
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove type mismatch condition in requestResource This CL removes the type matching condition in ResourceFetcher::requestResource() which shouldn't be hit and replaces it with a CHECK to make sure it is actually never hit. BUG=690632 Review-Url: https://codereview.chromium.org/2686533005 Cr-Commit-Position: refs/heads/master@{#449547} Committed: https://chromium.googlesource.com/chromium/src/+/25b17c1a107cbc956487b5a6bb4698b986f6f035

Patch Set 1 #

Patch Set 2 : Fix determineRevaliationPolicy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -9 lines) Patch
M third_party/WebKit/Source/platform/loader/fetch/ResourceFetcher.cpp View 1 3 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 22 (14 generated)
kinuko
lgtm
3 years, 10 months ago (2017-02-08 22:59:14 UTC) #5
Charlie Harrison
Yoav, do you mind attaching a crbug and referencing it in the code? We should ...
3 years, 10 months ago (2017-02-08 23:02:48 UTC) #6
Yoav Weiss
Looks like the removed check is in fact exercised under several conditions. I'll dig into ...
3 years, 10 months ago (2017-02-09 07:39:29 UTC) #9
Yoav Weiss
On 2017/02/09 07:39:29, Yoav Weiss wrote: > Looks like the removed check is in fact ...
3 years, 10 months ago (2017-02-09 21:39:01 UTC) #12
Charlie Harrison
LGTM, assuming CQ is happy
3 years, 10 months ago (2017-02-09 21:44:12 UTC) #14
kinuko
Cool! still LGTM
3 years, 10 months ago (2017-02-10 00:50:37 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2686533005/20001
3 years, 10 months ago (2017-02-10 05:00:05 UTC) #19
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 05:06:53 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/25b17c1a107cbc956487b5a6bb46...

Powered by Google App Engine
This is Rietveld 408576698