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

Issue 2106383002: Revert of Workaround for clang bug http://llvm.org/PR28348. (Closed)

Created:
4 years, 5 months ago by pbos-webrtc
Modified:
4 years, 5 months ago
Reviewers:
tommi
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Revert of Workaround for clang bug http://llvm.org/PR28348. (patchset #1 id:1 of https://codereview.webrtc.org/2110043003/ ) Reason for revert: Not needed since https://codereview.chromium.org/2110873002/. Original issue's description: > Workaround for clang bug http://llvm.org/PR28348. > > Permits rolling chromium further. > > BUG= > TBR=tommi@webrtc.org > > Committed: https://chromium.googlesource.com/external/webrtc/+/f516585e10b8a20f16c26b6e593745d0bb04a6cc TBR=tommi@webrtc.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Committed: https://crrev.com/9ef678502793efcd593119a3996829a97bd3c616 Cr-Commit-Position: refs/heads/master@{#13344}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -4 lines) Patch
M webrtc/media/base/videoframe_unittest.h View 1 chunk +1 line, -4 lines 2 comments Download

Messages

Total messages: 10 (2 generated)
pbos-webrtc
Created Revert of Workaround for clang bug http://llvm.org/PR28348.
4 years, 5 months ago (2016-06-30 09:32:26 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2106383002/1
4 years, 5 months ago (2016-06-30 09:32:27 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 5 months ago (2016-06-30 09:32:36 UTC) #4
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/9ef678502793efcd593119a3996829a97bd3c616 Cr-Commit-Position: refs/heads/master@{#13344}
4 years, 5 months ago (2016-06-30 09:32:46 UTC) #6
tommi
lgtm w/future request https://codereview.webrtc.org/2106383002/diff/1/webrtc/media/base/videoframe_unittest.h File webrtc/media/base/videoframe_unittest.h (right): https://codereview.webrtc.org/2106383002/diff/1/webrtc/media/base/videoframe_unittest.h#newcode1219 webrtc/media/base/videoframe_unittest.h:1219: data_ptr += kPadToHeapSized + (-(static_cast<int>(data_size)) & ...
4 years, 5 months ago (2016-06-30 10:39:19 UTC) #7
pbos-webrtc
https://codereview.webrtc.org/2106383002/diff/1/webrtc/media/base/videoframe_unittest.h File webrtc/media/base/videoframe_unittest.h (right): https://codereview.webrtc.org/2106383002/diff/1/webrtc/media/base/videoframe_unittest.h#newcode1219 webrtc/media/base/videoframe_unittest.h:1219: data_ptr += kPadToHeapSized + (-(static_cast<int>(data_size)) & 4095); On 2016/06/30 ...
4 years, 5 months ago (2016-06-30 12:16:54 UTC) #8
tommi
On 2016/06/30 12:16:54, pbos-webrtc wrote: > https://codereview.webrtc.org/2106383002/diff/1/webrtc/media/base/videoframe_unittest.h > File webrtc/media/base/videoframe_unittest.h (right): > > https://codereview.webrtc.org/2106383002/diff/1/webrtc/media/base/videoframe_unittest.h#newcode1219 > ...
4 years, 5 months ago (2016-06-30 13:21:23 UTC) #9
pbos-webrtc
4 years, 5 months ago (2016-06-30 13:53:14 UTC) #10
Message was sent while issue was closed.
On 2016/06/30 13:21:23, tommi-webrtc wrote:
> On 2016/06/30 12:16:54, pbos-webrtc wrote:
> >
>
https://codereview.webrtc.org/2106383002/diff/1/webrtc/media/base/videoframe_...
> > File webrtc/media/base/videoframe_unittest.h (right):
> > 
> >
>
https://codereview.webrtc.org/2106383002/diff/1/webrtc/media/base/videoframe_...
> > webrtc/media/base/videoframe_unittest.h:1219: data_ptr += kPadToHeapSized +
> > (-(static_cast<int>(data_size)) & 4095);
> > On 2016/06/30 10:39:18, tommi-webrtc wrote:
> > > instead of 4095, can we use 0xfff?  I find it a lot easier to understand
> > what's
> > > going on then.
> > > Also, we're using this constant in several places inside of this function.
> > Maybe
> > > it's worth having a mask constant at the top.
> > 
> > I agree, but I find this hard to read overall, I'm not even sure what to
call
> > the constant. :\
> 
> what about kFff

k4095InHex

Powered by Google App Engine
This is Rietveld 408576698