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

Issue 13852007: Fix Clang errors in the Windows screen capture code (Closed)

Created:
7 years, 8 months ago by Reid Kleckner
Modified:
7 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Fix Clang errors in the Windows screen capture code "and" and "xor" are alternate spellings of the "&&" and "^" operators, and clang doesn't like it if you use them as identifiers. Clang also doesn't like static_cast<> from void * to a function pointer, but reinterpret_cast<> works. R=alexeypa@chromium.org BUG=82385 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195057

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Patch Set 3 : x #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -6 lines) Patch
M media/video/capture/screen/screen_capturer_win.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Reid Kleckner
7 years, 8 months ago (2013-04-18 17:38:02 UTC) #1
alexeypa (please no reviews)
lgtm once my comments are addressed. https://codereview.chromium.org/13852007/diff/1/media/video/capture/screen/screen_capturer_win.cc File media/video/capture/screen/screen_capturer_win.cc (right): https://codereview.chromium.org/13852007/diff/1/media/video/capture/screen/screen_capturer_win.cc#newcode546 media/video/capture/screen/screen_capturer_win.cc:546: int xor_ = ...
7 years, 8 months ago (2013-04-18 18:56:03 UTC) #2
Reid Kleckner
7 years, 8 months ago (2013-04-18 19:01:18 UTC) #3
Reid Kleckner
Committing https://codereview.chromium.org/13852007/diff/1/media/video/capture/screen/screen_capturer_win.cc File media/video/capture/screen/screen_capturer_win.cc (right): https://codereview.chromium.org/13852007/diff/1/media/video/capture/screen/screen_capturer_win.cc#newcode546 media/video/capture/screen/screen_capturer_win.cc:546: int xor_ = xor_mask[byte] & (1 << bit); ...
7 years, 8 months ago (2013-04-18 19:01:36 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/13852007/2002
7 years, 8 months ago (2013-04-18 19:56:13 UTC) #5
Reid Kleckner
x
7 years, 8 months ago (2013-04-18 20:00:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/13852007/5003
7 years, 8 months ago (2013-04-18 20:03:07 UTC) #7
commit-bot: I haz the power
Retried try job too often on win7_aura for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win7_aura&number=30373
7 years, 8 months ago (2013-04-19 00:02:39 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rnk@chromium.org/13852007/5003
7 years, 8 months ago (2013-04-19 00:05:24 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 03:07:10 UTC) #10
Message was sent while issue was closed.
Change committed as 195057

Powered by Google App Engine
This is Rietveld 408576698