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

Issue 2601733002: IntersectionObserverCallbackImpl should use Member<ExecutionContext> (Closed)

Created:
3 years, 12 months ago by haraken
Modified:
3 years, 11 months ago
Reviewers:
sof, szager1
CC:
chromium-reviews, sof, eae+blinkwatch, blink-reviews-dom_chromium.org, dglazkov+blink, blink-reviews, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

IntersectionObserverCallbackImpl should use Member<ExecutionContext> Currently IntersectionObserverCallbackImpl uses WeakMember<ExecutionContext> but I don't see any reason it has to be a weak member. Also some call site assumes that IntersectionObserverCallbackImpl::getExecutionContext() doesn't return null. So it looks better to let IntersectionObserverCallbackImpl own Member<ExecutionContext>. BUG=610176 Committed: https://crrev.com/61862d1ea4b844b5b5051ea34945284b4a5dac71 Cr-Commit-Position: refs/heads/master@{#440714}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -6 lines) Patch
M third_party/WebKit/Source/core/dom/IntersectionObserver.cpp View 3 chunks +3 lines, -6 lines 1 comment Download

Messages

Total messages: 18 (8 generated)
haraken
PTAL
3 years, 12 months ago (2016-12-26 05:40:44 UTC) #2
sof
lgtm to try, watch for leaks. With the preference for using closures to bind & ...
3 years, 12 months ago (2016-12-26 07:28:04 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2601733002/1
3 years, 12 months ago (2016-12-26 07:29:31 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/355527)
3 years, 12 months ago (2016-12-26 11:12:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2601733002/1
3 years, 12 months ago (2016-12-26 11:13:29 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
3 years, 12 months ago (2016-12-26 14:34:04 UTC) #12
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/61862d1ea4b844b5b5051ea34945284b4a5dac71 Cr-Commit-Position: refs/heads/master@{#440714}
3 years, 12 months ago (2016-12-26 14:36:07 UTC) #14
Avi (use Gerrit)
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2600143002/ by avi@chromium.org. ...
3 years, 12 months ago (2016-12-26 20:17:05 UTC) #15
szager1
In the future, please add me to IntersectionObserver changes. The object lifetime management of IntersectionObserver ...
3 years, 11 months ago (2017-01-04 22:24:32 UTC) #17
szager1
3 years, 11 months ago (2017-01-04 22:25:54 UTC) #18
Message was sent while issue was closed.
On 2017/01/04 22:24:32, szager1 wrote:
> In the future, please add me to IntersectionObserver changes.

Ah, snap; I see that I am a reviewer; sorry for the terse reply.

Powered by Google App Engine
This is Rietveld 408576698