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

Issue 8271002: Make GPU_DCHECK* keep reference to passed variables (Closed)

Created:
9 years, 2 months ago by ph34r
Modified:
9 years, 2 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Make GPU_DCHECK* keep reference to passed variables to avoid unused variable warnings in release build. BUG=87490 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=105432

Patch Set 1 #

Total comments: 2

Patch Set 2 : style fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -37 lines) Patch
M gpu/command_buffer/common/logging.h View 1 2 chunks +37 lines, -37 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
ph34r
This CL is all about these warnings which appear in release build with gcc 4.6: ...
9 years, 2 months ago (2011-10-13 14:54:59 UTC) #1
apatrick_chromium
Thanks for looking into this. A few comments. http://codereview.chromium.org/8271002/diff/1/gpu/command_buffer/common/logging.h File gpu/command_buffer/common/logging.h (right): http://codereview.chromium.org/8271002/diff/1/gpu/command_buffer/common/logging.h#newcode179 gpu/command_buffer/common/logging.h:179: #define ...
9 years, 2 months ago (2011-10-13 18:14:13 UTC) #2
ph34r
I was inspired by the base/logging.h implementation. It's the same way as DCHECK_* works, so ...
9 years, 2 months ago (2011-10-13 20:09:18 UTC) #3
apatrick_chromium
Fair enough. I started a try job. http://build.chromium.org/p/tryserver.chromium/builders/linux/builds/54466 http://build.chromium.org/p/tryserver.chromium/builders/mac/builds/54201 http://build.chromium.org/p/tryserver.chromium/builders/win/builds/60882
9 years, 2 months ago (2011-10-13 20:30:50 UTC) #4
greggman
if AL's concerns are satisfied then lgtm Just be aware, anything in src/gpu/common and src/gpu/client ...
9 years, 2 months ago (2011-10-13 20:53:25 UTC) #5
apatrick_chromium
Try jobs are good. The test failures are unrelated to this change. The NaCl integration ...
9 years, 2 months ago (2011-10-13 23:23:43 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pph34r@gmail.com/8271002/4001
9 years, 2 months ago (2011-10-13 23:23:57 UTC) #7
commit-bot: I haz the power
9 years, 2 months ago (2011-10-14 01:10:06 UTC) #8
Change committed as 105432

Powered by Google App Engine
This is Rietveld 408576698