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

Issue 393773004: Oilpan: improve ScriptPromiseProperty's argument types. (Closed)

Created:
6 years, 5 months ago by sof
Modified:
6 years, 5 months ago
CC:
blink-reviews, michaeln, jsbell+serviceworker_chromium.org, arv+blink, tzik, serviceworker-reviews, nhiroki, abarth-chromium, falken, blink-reviews-bindings_chromium.org, horo+watch_chromium.org, kinuko+serviceworker, kouhei+heap_chromium.org, alecflett+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Oilpan: improve ScriptPromiseProperty<>'s argument types. The ScriptPromiseProperty<> template will instantiate three fields holding references to objects. In order to ensure lifetime safety, supply better transition types where it is used. R=ager@chromium.org,haraken@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178278

Patch Set 1 #

Patch Set 2 : Rely on IsGarbageCollectedType<> instead #

Patch Set 3 : Remove type-driven tracing changes #

Total comments: 2

Patch Set 4 : Don't add a ref-cycle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M Source/bindings/core/v8/ScriptPromisePropertyTest.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/ServiceWorkerContainer.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
sof
Please take a look. An alternative way to handle the tracing from ScriptPromiseProperty; too much ...
6 years, 5 months ago (2014-07-16 09:59:41 UTC) #1
Mads Ager (chromium)
Yeah, I did consider this. It is clever and it will definitely work, but I ...
6 years, 5 months ago (2014-07-16 10:25:03 UTC) #2
sof
On 2014/07/16 10:25:03, Mads Ager (chromium) wrote: > Yeah, I did consider this. It is ...
6 years, 5 months ago (2014-07-16 10:29:33 UTC) #3
Mads Ager (chromium)
On 2014/07/16 10:29:33, sof wrote: > On 2014/07/16 10:25:03, Mads Ager (chromium) wrote: > > ...
6 years, 5 months ago (2014-07-16 10:31:34 UTC) #4
Mads Ager (chromium)
On 2014/07/16 10:31:34, Mads Ager (chromium) wrote: > On 2014/07/16 10:29:33, sof wrote: > > ...
6 years, 5 months ago (2014-07-16 10:32:16 UTC) #5
sof
On 2014/07/16 10:32:16, Mads Ager (chromium) wrote: > On 2014/07/16 10:31:34, Mads Ager (chromium) wrote: ...
6 years, 5 months ago (2014-07-16 10:34:47 UTC) #6
Mads Ager (chromium)
On 2014/07/16 10:34:47, sof wrote: > On 2014/07/16 10:32:16, Mads Ager (chromium) wrote: > > ...
6 years, 5 months ago (2014-07-16 10:40:55 UTC) #7
sof
On 2014/07/16 10:40:55, Mads Ager (chromium) wrote: > On 2014/07/16 10:34:47, sof wrote: > > ...
6 years, 5 months ago (2014-07-16 10:46:07 UTC) #8
sof
On 2014/07/16 10:46:07, sof wrote: > On 2014/07/16 10:40:55, Mads Ager (chromium) wrote: > > ...
6 years, 5 months ago (2014-07-16 11:01:04 UTC) #9
Mads Ager (chromium)
https://codereview.chromium.org/393773004/diff/40001/Source/modules/serviceworkers/ServiceWorkerContainer.h File Source/modules/serviceworkers/ServiceWorkerContainer.h (right): https://codereview.chromium.org/393773004/diff/40001/Source/modules/serviceworkers/ServiceWorkerContainer.h#newcode90 Source/modules/serviceworkers/ServiceWorkerContainer.h:90: typedef ScriptPromiseProperty<RefPtrWillBeMember<ServiceWorkerContainer>, RefPtrWillBeMember<ServiceWorker>, RefPtrWillBeMember<ServiceWorker> > ReadyProperty; It looks to ...
6 years, 5 months ago (2014-07-16 11:10:43 UTC) #10
haraken
+dominicc
6 years, 5 months ago (2014-07-16 11:17:50 UTC) #11
sof
https://codereview.chromium.org/393773004/diff/40001/Source/modules/serviceworkers/ServiceWorkerContainer.h File Source/modules/serviceworkers/ServiceWorkerContainer.h (right): https://codereview.chromium.org/393773004/diff/40001/Source/modules/serviceworkers/ServiceWorkerContainer.h#newcode90 Source/modules/serviceworkers/ServiceWorkerContainer.h:90: typedef ScriptPromiseProperty<RefPtrWillBeMember<ServiceWorkerContainer>, RefPtrWillBeMember<ServiceWorker>, RefPtrWillBeMember<ServiceWorker> > ReadyProperty; On 2014/07/16 11:10:43, ...
6 years, 5 months ago (2014-07-16 11:30:04 UTC) #12
Mads Ager (chromium)
LGTM
6 years, 5 months ago (2014-07-16 11:33:16 UTC) #13
sof
On 2014/07/16 11:33:16, Mads Ager (chromium) wrote: > LGTM Thanks, will wait for bindings/ owner ...
6 years, 5 months ago (2014-07-16 11:35:31 UTC) #14
haraken
LGTM
6 years, 5 months ago (2014-07-16 11:38:17 UTC) #15
sof
The CQ bit was checked by sigbjornf@opera.com
6 years, 5 months ago (2014-07-16 11:51:33 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/393773004/60001
6 years, 5 months ago (2014-07-16 11:51:58 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 5 months ago (2014-07-16 13:11:21 UTC) #18
commit-bot: I haz the power
6 years, 5 months ago (2014-07-16 13:48:48 UTC) #19
Message was sent while issue was closed.
Change committed as 178278

Powered by Google App Engine
This is Rietveld 408576698