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

Issue 22920003: Use ARRAYSIZE_UNSAFE to find the number of painters in shader_bench. (Closed)

Created:
7 years, 4 months ago by jbroman
Modified:
7 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, danakj
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Use ARRAYSIZE_UNSAFE to find the number of painters in shader_bench. Previously, a separate constant (kNumPainters) was used. This constant was incorrect (there were only two elements in the array). As described in http://www.viva64.com/en/b/0205/. BUG=271533 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=217124

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M media/tools/shader_bench/shader_bench.cc View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jbroman
I haven't been able to figure out how to run this tool to test that ...
7 years, 4 months ago (2013-08-12 19:49:25 UTC) #1
scherkus (not reviewing)
lgtm but it might be time to delete shader_bench, too :)
7 years, 4 months ago (2013-08-12 20:10:22 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbroman@chromium.org/22920003/3001
7 years, 4 months ago (2013-08-12 20:15:11 UTC) #3
commit-bot: I haz the power
Change committed as 217124
7 years, 4 months ago (2013-08-13 00:03:10 UTC) #4
DaleCurtis
7 years, 4 months ago (2013-08-13 00:38:33 UTC) #5
Message was sent while issue was closed.
I fixed it here, but we could definitely delete it :) 

https://codereview.chromium.org/22979002/

Powered by Google App Engine
This is Rietveld 408576698