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

Issue 653053002: Oilpan: fix build after r183657. (Closed)

Created:
6 years, 2 months ago by sof
Modified:
6 years, 2 months ago
Reviewers:
haraken, oilpan-reviews
CC:
blink-reviews, jfernandez, blink-reviews-rendering, zoltan1, svillar, pdr+renderingwatchlist_chromium.org, Manuel Rego, leviw+renderwatch, jchaffraix+rendering, eae+blinkwatch, rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Oilpan: fix build after r183657. TBR=oilpan-reviews,haraken BUG= NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183666

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -1 line) Patch
M Source/core/rendering/RenderGrid.cpp View 5 chunks +25 lines, -1 line 2 comments Download

Messages

Total messages: 9 (1 generated)
sof
Please take a look.
6 years, 2 months ago (2014-10-14 11:32:25 UTC) #1
haraken
https://codereview.chromium.org/653053002/diff/1/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/653053002/diff/1/Source/core/rendering/RenderGrid.cpp#newcode709 Source/core/rendering/RenderGrid.cpp:709: }; Can't we use WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS instead?
6 years, 2 months ago (2014-10-14 11:41:30 UTC) #2
sof
https://codereview.chromium.org/653053002/diff/1/Source/core/rendering/RenderGrid.cpp File Source/core/rendering/RenderGrid.cpp (right): https://codereview.chromium.org/653053002/diff/1/Source/core/rendering/RenderGrid.cpp#newcode709 Source/core/rendering/RenderGrid.cpp:709: }; On 2014/10/14 11:41:30, haraken wrote: > > Can't ...
6 years, 2 months ago (2014-10-14 11:47:21 UTC) #3
haraken
On 2014/10/14 11:47:21, sof wrote: > https://codereview.chromium.org/653053002/diff/1/Source/core/rendering/RenderGrid.cpp > File Source/core/rendering/RenderGrid.cpp (right): > > https://codereview.chromium.org/653053002/diff/1/Source/core/rendering/RenderGrid.cpp#newcode709 > ...
6 years, 2 months ago (2014-10-14 11:53:08 UTC) #4
sof
On 2014/10/14 11:53:08, haraken wrote: > On 2014/10/14 11:47:21, sof wrote: > > > https://codereview.chromium.org/653053002/diff/1/Source/core/rendering/RenderGrid.cpp ...
6 years, 2 months ago (2014-10-14 12:14:27 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/653053002/1
6 years, 2 months ago (2014-10-14 12:15:09 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as 183666
6 years, 2 months ago (2014-10-14 12:15:41 UTC) #8
sof
6 years, 2 months ago (2014-10-15 05:16:18 UTC) #9
Message was sent while issue was closed.
On 2014/10/14 12:14:27, sof wrote:
> On 2014/10/14 11:53:08, haraken wrote:
> > On 2014/10/14 11:47:21, sof wrote:
> > >
> >
>
https://codereview.chromium.org/653053002/diff/1/Source/core/rendering/Render...
> > > File Source/core/rendering/RenderGrid.cpp (right):
> > > 
> > >
> >
>
https://codereview.chromium.org/653053002/diff/1/Source/core/rendering/Render...
> > > Source/core/rendering/RenderGrid.cpp:709: };
> > > On 2014/10/14 11:41:30, haraken wrote:
> > > > 
> > > > Can't we use WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS instead?
> > > 
> > > Same as for GradientStop, the reason why not is that we have to
override/fix
> > > needsDestruction for this type.
> > > 
> > > I think we should consider introducing a macro for that, though. Can do
that
> > in
> > > a followup, if so.
> > 
> > Just help me understand, what's wrong with calling a destructor of
> > GridSizingData?
> > 
> 
> (Heap)Vector() doesn't allow finalization of initialized-as-zero elements with
> destructors (== non-POD objects), unless canInitializeWithMemset holds. See
the
> Vector() ctor comment and its assert predicate.
> 
> The type here being incorrectly classified as non-POD.

Once/when/if we can assume <type_traits> being usable across toolchains (incl
stable wrt final C++11 naming), then this VectorTraits usage can be tidied up a
bit -- https://codereview.chromium.org/654933004/

Powered by Google App Engine
This is Rietveld 408576698