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

Issue 806693004: Use new phantom handles for ScriptWrappable.

Created:
6 years ago by Erik Corry Chromium.org
Modified:
5 years, 9 months ago
CC:
arv+blink, blink-reviews, blink-reviews-bindings_chromium.org, haraken
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Use new phantom handles for ScriptWrappable. This cannot commit before https://codereview.chromium.org/753553002 has rolled. R=hpayer@chromium.org, jochen@chromium.org BUG=

Patch Set 1 #

Total comments: 2

Patch Set 2 : Start using V8 phantom handles in Blink #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -23 lines) Patch
M Source/bindings/core/v8/DOMWrapperMap.h View 1 1 chunk +1 line, -0 lines 1 comment Download
M Source/bindings/core/v8/DOMWrapperWorld.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/core/v8/DOMWrapperWorld.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/bindings/core/v8/ScopedPersistent.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M Source/bindings/core/v8/ScriptWrappable.h View 2 chunks +6 lines, -12 lines 2 comments Download
M Source/bindings/core/v8/V8NPObject.cpp View 1 2 chunks +3 lines, -3 lines 0 comments Download
M Source/bindings/core/v8/V8PersistentValueMap.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/bindings/core/v8/V8ValueCache.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M Source/bindings/core/v8/V8ValueCache.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (1 generated)
Erik Corry Chromium.org
6 years ago (2014-12-15 15:18:11 UTC) #1
jochen (gone - plz use gerrit)
lgtm
6 years ago (2014-12-15 15:37:36 UTC) #2
haraken
LGTM. This is a nice change. https://codereview.chromium.org/806693004/diff/1/Source/bindings/core/v8/ScriptWrappable.h File Source/bindings/core/v8/ScriptWrappable.h (right): https://codereview.chromium.org/806693004/diff/1/Source/bindings/core/v8/ScriptWrappable.h#newcode162 Source/bindings/core/v8/ScriptWrappable.h:162: static void setWeakCallback(const ...
6 years ago (2014-12-15 15:49:37 UTC) #4
Hannes Payer (out of office)
lgtm
6 years ago (2014-12-15 15:54:50 UTC) #5
Erik Corry Chromium.org
I updated it with more uses. Also added a flag to some traits, that I ...
5 years, 11 months ago (2015-01-07 15:46:25 UTC) #6
haraken
Still LGTM. https://codereview.chromium.org/806693004/diff/20001/Source/bindings/core/v8/ScriptWrappable.h File Source/bindings/core/v8/ScriptWrappable.h (right): https://codereview.chromium.org/806693004/diff/20001/Source/bindings/core/v8/ScriptWrappable.h#newcode169 Source/bindings/core/v8/ScriptWrappable.h:169: scriptWrappable->m_wrapper.Empty(); Do we go with Empty, whereas ...
5 years, 11 months ago (2015-01-07 15:51:42 UTC) #7
Erik Corry Chromium.org
https://codereview.chromium.org/806693004/diff/20001/Source/bindings/core/v8/DOMWrapperMap.h File Source/bindings/core/v8/DOMWrapperMap.h (right): https://codereview.chromium.org/806693004/diff/20001/Source/bindings/core/v8/DOMWrapperMap.h#newcode95 Source/bindings/core/v8/DOMWrapperMap.h:95: static const bool kUseSetWeak = true; This is in ...
5 years, 11 months ago (2015-01-07 16:07:57 UTC) #8
Erik Corry Chromium.org
I'm putting this on hold to make some changes to the V8 API that Dan ...
5 years, 11 months ago (2015-01-07 16:19:15 UTC) #9
sof
On 2015/01/07 16:19:15, Erik Corry Chromium.org wrote: > I'm putting this on hold to make ...
5 years, 9 months ago (2015-03-09 10:59:20 UTC) #10
jochen (gone - plz use gerrit)
5 years, 9 months ago (2015-03-09 16:16:41 UTC) #11
yes, but now we're changing the API on the V8 side.... really soon now!

Powered by Google App Engine
This is Rietveld 408576698