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

Issue 2456193003: NTPResourceCache don't add substitution for colorSectionBorder twice (Closed)

Created:
4 years, 1 month ago by hans
Modified:
4 years, 1 month ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

NTPResourceCache don't add substitution for colorSectionBorder twice Found through static analysis by PVS-Studio! Also remove .thumbnail-wrapper style, which referred to colorSectionBorder but wasn't used. BUG=660198 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/c6ddf87591b0227947d16d415d3401aabb26ebef Cr-Commit-Position: refs/heads/master@{#428917}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Do the safe thing: keep the second entry instead #

Patch Set 3 : remove unused .thumbnail-wrapper style #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -7 lines) Patch
M chrome/browser/resources/ntp4/new_tab_theme.css View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
hans
Please take a look.
4 years, 1 month ago (2016-10-27 22:14:52 UTC) #3
Peter Kasting
https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (left): https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#oldcode583 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:583: SkColorToRGBComponents(color_section_border); The first addition was as a string, this ...
4 years, 1 month ago (2016-10-27 22:29:10 UTC) #5
hans
https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (left): https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#oldcode583 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:583: SkColorToRGBComponents(color_section_border); On 2016/10/27 22:29:10, Peter Kasting wrote: > The ...
4 years, 1 month ago (2016-10-27 22:44:39 UTC) #6
dschuyler
https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (left): https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#oldcode583 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:583: SkColorToRGBComponents(color_section_border); On 2016/10/27 22:44:38, hans wrote: > On 2016/10/27 ...
4 years, 1 month ago (2016-10-27 23:07:34 UTC) #7
hans
https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (left): https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#oldcode583 chrome/browser/ui/webui/ntp/ntp_resource_cache.cc:583: SkColorToRGBComponents(color_section_border); On 2016/10/27 23:07:34, dschuyler wrote: > On 2016/10/27 ...
4 years, 1 month ago (2016-10-27 23:13:07 UTC) #8
dschuyler
On 2016/10/27 23:13:07, hans wrote: > https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc > File chrome/browser/ui/webui/ntp/ntp_resource_cache.cc (left): > > https://codereview.chromium.org/2456193003/diff/1/chrome/browser/ui/webui/ntp/ntp_resource_cache.cc#oldcode583 > ...
4 years, 1 month ago (2016-10-28 23:05:54 UTC) #9
hans
On 2016/10/28 23:05:54, dschuyler wrote: > The change looks good, though I have a request ...
4 years, 1 month ago (2016-10-31 16:35:56 UTC) #11
dschuyler
lgtm
4 years, 1 month ago (2016-10-31 23:32:40 UTC) #12
hans
I now see estade is marked "emeritus" in the OWNERS file. tommycli: maybe you can ...
4 years, 1 month ago (2016-10-31 23:58:48 UTC) #14
Nico
lgtm stamp mention the css removal in the cl description though
4 years, 1 month ago (2016-11-01 00:45:50 UTC) #16
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/2456193003/40001
4 years, 1 month ago (2016-11-01 00:47:59 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-01 02:35:35 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 02:37:54 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/c6ddf87591b0227947d16d415d3401aabb26ebef
Cr-Commit-Position: refs/heads/master@{#428917}

Powered by Google App Engine
This is Rietveld 408576698