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

Issue 1469353011: [Oilpan] Replace a raw pointer with RawPtrWillBeWeakPersistent in ScrollAnimatorBase (Closed)

Created:
5 years ago by peria
Modified:
5 years ago
Reviewers:
oilpan-reviews, haraken, sof
CC:
chromium-reviews, shans, rjwright, blink-reviews-animation_chromium.org, darktears, blink-reviews, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

They are back references (*) in following style. +-(*)-ProgrammaticScrollAnimtor<=(OwnPtr)=# v | ScrollableArea =(OwnPtr)=> ScrollableArea::ScrollAnimators ^ | +--(*)-- ScrollAnimatorBase <=(OwnPtr)=# Forward to: https://codereview.chromium.org/1477113003/ BUG=550325

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M third_party/WebKit/Source/platform/scroll/ScrollAnimatorBase.h View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 17 (9 generated)
peria
PTL
5 years ago (2015-11-26 07:59:10 UTC) #5
haraken
LGTM
5 years ago (2015-11-26 08:17:30 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1469353011/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1469353011/1
5 years ago (2015-11-26 08:18:50 UTC) #8
sof
Hmm. If something really needs to change, why not work towards moving ScrollAnimatorBase to the ...
5 years ago (2015-11-26 08:43:37 UTC) #10
haraken
On 2015/11/26 08:43:37, sof wrote: > Hmm. If something really needs to change, why not ...
5 years ago (2015-11-26 08:44:54 UTC) #11
peria
On 2015/11/26 08:44:54, haraken wrote: > On 2015/11/26 08:43:37, sof wrote: > > Hmm. If ...
5 years ago (2015-11-26 08:50:49 UTC) #13
sof
On 2015/11/26 08:50:49, peria wrote: > On 2015/11/26 08:44:54, haraken wrote: > > On 2015/11/26 ...
5 years ago (2015-11-26 08:54:22 UTC) #15
peria
5 years ago (2015-11-26 11:38:43 UTC) #16
On 2015/11/26 08:54:22, sof wrote:
> On 2015/11/26 08:50:49, peria wrote:
> > On 2015/11/26 08:44:54, haraken wrote:
> > > On 2015/11/26 08:43:37, sof wrote:
> > > > Hmm. If something really needs to change, why not work towards moving
> > > > ScrollAnimatorBase to the heap?
> > > 
> > > If it's doable, it's definitely better :) Worth taking a look.
> > 
> > Agree.
> > And I find it better to work also for GC_PLUGIN_IGNORE() in
> > ProgrammaticScrollAnimator.
> 
> I don't think it is straightforward, but preferable state to end up in.
> 
> WeakPersistent<> is the Oilpan reference type with the largest overhead, I'd
> argue.

Hmm. I try it in another CL, because it will be very different from this CL.
https://codereview.chromium.org/1477113003/

Powered by Google App Engine
This is Rietveld 408576698