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

Issue 2811943003: v8binding: Makes WindowProxy::global_proxy_ a weak reference when detached. (Closed)

Created:
3 years, 8 months ago by Yuki
Modified:
3 years, 8 months ago
Reviewers:
haraken, dcheng
CC:
chromium-reviews, blink-reviews, blink-reviews-bindings_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

v8binding: Makes WindowProxy::global_proxy_ a weak reference when detached. Once the context's frame is detached from the DOM, we shouldn't hold a strong reference to v8::Context. This CL makes WindowProxy::global_proxy_ a weak reference once the frame is detached. This CL is a preparation of https://crrev.com/2713623002 . BUG= Review-Url: https://codereview.chromium.org/2811943003 Cr-Commit-Position: refs/heads/master@{#464304} Committed: https://chromium.googlesource.com/chromium/src/+/6bfd2af0b9ab88cd377c6902033812556e1d4edd

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+19 lines, -1 line) Patch
M third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/RemoteWindowProxy.cpp View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/WindowProxy.h View 2 chunks +7 lines, -1 line 1 comment Download

Messages

Total messages: 15 (8 generated)
Yuki
Could you guys review this CL?
3 years, 8 months ago (2017-04-11 09:20:14 UTC) #4
haraken
I discussed this with yukishiino@ offline and am convinced that this will be a reasonable ...
3 years, 8 months ago (2017-04-11 14:32:54 UTC) #7
dcheng
Sorry I have another dumb question =) Why does this need to be a strong ...
3 years, 8 months ago (2017-04-11 23:37:08 UTC) #8
Yuki
On 2017/04/11 23:37:08, dcheng wrote: > Sorry I have another dumb question =) > > ...
3 years, 8 months ago (2017-04-12 07:57:49 UTC) #9
dcheng
On 2017/04/12 07:57:49, Yuki wrote: > On 2017/04/11 23:37:08, dcheng wrote: > > Sorry I ...
3 years, 8 months ago (2017-04-12 21:22:15 UTC) #10
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/2811943003/1
3 years, 8 months ago (2017-04-13 03:26:55 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-13 05:09:08 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/6bfd2af0b9ab88cd377c69020338...

Powered by Google App Engine
This is Rietveld 408576698