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

Issue 1258653003: Switch SuspendableScriptExecutor over to using SelfKeepAlive<>. (Closed)

Created:
5 years, 4 months ago by sof
Modified:
5 years, 4 months ago
Reviewers:
oilpan-reviews, haraken
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Switch SuspendableScriptExecutor over to using SelfKeepAlive<>. Have this Oilpan-hosted object keep itself alive using SelfKeepAlive<>, moving it onto the Oilpan heap by default in the process. R=haraken BUG=420515 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200036

Patch Set 1 #

Total comments: 1

Patch Set 2 : simplify initialization #

Patch Set 3 : compile fix #

Patch Set 4 : retire m_disposed checking #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -32 lines) Patch
M Source/web/SuspendableScriptExecutor.h View 1 2 3 4 chunks +7 lines, -10 lines 0 comments Download
M Source/web/SuspendableScriptExecutor.cpp View 1 2 3 4 chunks +6 lines, -22 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
sof
please take a look.
5 years, 4 months ago (2015-08-04 14:05:47 UTC) #2
sof
https://codereview.chromium.org/1258653003/diff/1/Source/web/SuspendableScriptExecutor.h File Source/web/SuspendableScriptExecutor.h (left): https://codereview.chromium.org/1258653003/diff/1/Source/web/SuspendableScriptExecutor.h#oldcode48 Source/web/SuspendableScriptExecutor.h:48: bool m_disposed; With the self-keepalive, having this object be ...
5 years, 4 months ago (2015-08-04 14:14:40 UTC) #3
haraken
LGTM On 2015/08/04 14:14:40, sof wrote: > https://codereview.chromium.org/1258653003/diff/1/Source/web/SuspendableScriptExecutor.h > File Source/web/SuspendableScriptExecutor.h (left): > > https://codereview.chromium.org/1258653003/diff/1/Source/web/SuspendableScriptExecutor.h#oldcode48 ...
5 years, 4 months ago (2015-08-04 23:20:36 UTC) #4
sof
On 2015/08/04 23:20:36, haraken wrote: > LGTM > > On 2015/08/04 14:14:40, sof wrote: > ...
5 years, 4 months ago (2015-08-05 06:32:01 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1258653003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1258653003/60001
5 years, 4 months ago (2015-08-05 06:47:07 UTC) #8
commit-bot: I haz the power
5 years, 4 months ago (2015-08-05 07:49:44 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200036

Powered by Google App Engine
This is Rietveld 408576698