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

Issue 661793002: Oilpan: fix build after r183816 (Closed)

Created:
6 years, 2 months ago by sof
Modified:
6 years ago
Reviewers:
haraken, oilpan-reviews
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Oilpan: fix build after r183816 R=haraken BUG= NOTRY=true Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=183825

Patch Set 1 #

Patch Set 2 : Non-Oilpan compile fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M Source/core/frame/FrameView.cpp View 1 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 12 (1 generated)
sof
Please take a look. The problem with these "const auto&" range loops is due to ...
6 years, 2 months ago (2014-10-16 15:50:22 UTC) #1
haraken
LGTM
6 years, 2 months ago (2014-10-16 16:02:23 UTC) #2
sof
On 2014/10/16 16:02:23, haraken wrote: > LGTM many thanks; too many breakages atm.
6 years, 2 months ago (2014-10-16 16:06:44 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/661793002/20001
6 years, 2 months ago (2014-10-16 16:07:39 UTC) #5
haraken
> many thanks; too many breakages atm. Thanks for fixing! I'm heading for bed, so ...
6 years, 2 months ago (2014-10-16 16:07:50 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 183825
6 years, 2 months ago (2014-10-16 16:08:21 UTC) #7
sof
On 2014/10/16 16:07:50, haraken wrote: > > many thanks; too many breakages atm. > > ...
6 years, 2 months ago (2014-10-16 16:12:07 UTC) #8
haraken
On 2014/10/16 15:50:22, sof wrote: > Please take a look. > > The problem with ...
6 years ago (2014-12-16 07:57:44 UTC) #9
sof
On 2014/12/16 07:57:44, haraken wrote: > On 2014/10/16 15:50:22, sof wrote: > > Please take ...
6 years ago (2014-12-16 08:06:23 UTC) #10
haraken
On 2014/12/16 08:06:23, sof wrote: > On 2014/12/16 07:57:44, haraken wrote: > > On 2014/10/16 ...
6 years ago (2014-12-16 08:08:53 UTC) #11
sof
6 years ago (2014-12-16 08:23:17 UTC) #12
Message was sent while issue was closed.
On 2014/12/16 08:08:53, haraken wrote:
> On 2014/12/16 08:06:23, sof wrote:
> > On 2014/12/16 07:57:44, haraken wrote:
> > > On 2014/10/16 15:50:22, sof wrote:
> > > > Please take a look.
> > > > 
> > > > The problem with these "const auto&" range loops is due to having
> > > > HashTraits<Member<T>>::IteratorConstReferenceType map to T* with Oilpan,
> > which
> > > > leads to confusion when iterating a type like
> > > > 
> > > >    WillBeHeapHashSet<RefPtrWillBeMember<Widget>>
> > > > 
> > > > as the same hash trait type for RefPtr<> keeps the const reference as a
> > > > RefPtr<>.
> > > > 
> > > > I assume the Oilpan mapping of T* is that way for a good reason, and am
> > > leaving
> > > > it alone here.
> > > 
> > > Hmm. Actually I'm not quite sure of the "good reason". Do you have any
idea
> on
> > > it? I mean, I want to understand how tasak's fix
> > > (https://codereview.chromium.org/808673005/) affects performance.
> > 
> > I want you and tasak to assure me that there isn't anything to be concerned
> > with. I pointed out the mismatch here & left alone what seemed like an
> > intentional const-ref mapping for this trait, as it seemed to be that way on
> > purpose comparing to the other mappings surrounding it.
> 
> tasak@: Would you mind investigating it? You can probably revert the CL until
> we're sure that it's a right change.

My respect for the automagic collection traits machinery is probably too great
:) Erik might be able to shed light on whether or not there is anything deeper
going on here with that mapping.

Powered by Google App Engine
This is Rietveld 408576698