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

Issue 2471133007: Remove wasCanceled() check in ImageLoader (Closed)

Created:
4 years, 1 month ago by hiroshige
Modified:
4 years ago
Reviewers:
yhirano
CC:
chromium-reviews, blink-reviews, loading-reviews_chromium.org, tyoshino+watch_chromium.org, Nate Chapin, gavinp+loader_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove wasCanceled() check in ImageLoader This CL removes a code block that seems unreachable, because errorOccurred() should be always true if wasCanceled() is true. BUG=667641 Committed: https://crrev.com/1e6d5389ff332f09924b180e4a114cbbec1435ce Cr-Commit-Position: refs/heads/master@{#435364}

Patch Set 1 #

Patch Set 2 : DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -8 lines) Patch
M third_party/WebKit/Source/core/loader/ImageLoader.cpp View 1 1 chunk +1 line, -8 lines 0 comments Download

Messages

Total messages: 25 (16 generated)
hiroshige
PTAL.
4 years, 1 month ago (2016-11-07 06:46:41 UTC) #6
yhirano
Is it good to place a DCHECK on Resource::setStatus?
4 years, 1 month ago (2016-11-07 07:58:57 UTC) #7
hiroshige
On 2016/11/07 07:58:57, yhirano wrote: > Is it good to place a DCHECK on Resource::setStatus? ...
4 years ago (2016-11-29 09:03:43 UTC) #11
yhirano
lgtm
4 years ago (2016-11-30 03:21:34 UTC) #14
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/2471133007/20001
4 years ago (2016-11-30 04:30:39 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-30 06:33:09 UTC) #18
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/2471133007/20001
4 years ago (2016-11-30 17:56:45 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-11-30 19:09:28 UTC) #23
commit-bot: I haz the power
4 years ago (2016-11-30 19:13:11 UTC) #25
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1e6d5389ff332f09924b180e4a114cbbec1435ce
Cr-Commit-Position: refs/heads/master@{#435364}

Powered by Google App Engine
This is Rietveld 408576698