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

Issue 180363004: Convert DOMWrapperMap to use PersistentValueMap (Closed)

Created:
6 years, 9 months ago by vogelheim
Modified:
6 years, 8 months ago
Reviewers:
dcarney
CC:
blink-reviews, Nils Barth (inactive), kojih, arv+blink, jsbell+bindings_chromium.org, sof, abarth-chromium, marja+watch_chromium.org, adamk+blink_chromium.org, Nate Chapin, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Convert DOMWrapperMap to use PersistentValueMap BUG=276323 R=dcarney@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170974

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 24

Patch Set 4 : implement 1st set of review comments. #

Patch Set 5 : Adapt for changes made in issue 189463019, Patch Set 2. #

Patch Set 6 : adapt 2nd rounf of feedback on v8.h #

Total comments: 3

Patch Set 7 : review feedback; reinstate assertion #

Patch Set 8 : Update to match changes in v8-util.h. #

Total comments: 2

Patch Set 9 : Review feedback: style fixes #

Patch Set 10 : Fix asserts. #

Patch Set 11 : Fix asserts. For real, now. #

Patch Set 12 : Adapt to changes in 212893007. #

Patch Set 13 : Adapt to changes in v8-util.h #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -62 lines) Patch
M Source/bindings/v8/DOMWrapperMap.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +79 lines, -50 lines 0 comments Download
M Source/bindings/v8/V8NPObject.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -11 lines 0 comments Download
M Source/bindings/v8/WrapperTypeInfo.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 12 (0 generated)
dcarney
Hey Daniel, I had a few minutes to look over where you're doing. I left ...
6 years, 9 months ago (2014-03-07 09:38:23 UTC) #1
vogelheim
On Fri, Mar 7, 2014 at 10:38 AM, <dcarney@chromium.org> wrote: > I had a few ...
6 years, 9 months ago (2014-03-07 10:03:57 UTC) #2
vogelheim
All done; but some more questions. The v8.h change is coming shortly. https://codereview.chromium.org/180363004/diff/40001/Source/bindings/v8/DOMWrapperMap.h File Source/bindings/v8/DOMWrapperMap.h ...
6 years, 9 months ago (2014-03-07 18:01:34 UTC) #3
haraken
It's great we can remove UnsafePersistents from the embedder!
6 years, 9 months ago (2014-03-10 01:11:33 UTC) #4
dcarney
lgtm https://codereview.chromium.org/180363004/diff/100001/Source/bindings/v8/V8NPObject.cpp File Source/bindings/v8/V8NPObject.cpp (left): https://codereview.chromium.org/180363004/diff/100001/Source/bindings/v8/V8NPObject.cpp#oldcode413 Source/bindings/v8/V8NPObject.cpp:413: ASSERT(staticNPObjectMap().containsKeyAndValue(npObject, data.GetValue())); can we keep the assert?
6 years, 9 months ago (2014-03-11 15:16:27 UTC) #5
vogelheim
https://codereview.chromium.org/180363004/diff/100001/Source/bindings/v8/V8NPObject.cpp File Source/bindings/v8/V8NPObject.cpp (left): https://codereview.chromium.org/180363004/diff/100001/Source/bindings/v8/V8NPObject.cpp#oldcode413 Source/bindings/v8/V8NPObject.cpp:413: ASSERT(staticNPObjectMap().containsKeyAndValue(npObject, data.GetValue())); On 2014/03/11 15:16:28, dcarney wrote: > can ...
6 years, 9 months ago (2014-03-11 18:35:30 UTC) #6
vogelheim
PTAL. Updated to reflect changes to PersistentValueMap.
6 years, 9 months ago (2014-03-18 14:31:08 UTC) #7
dcarney
lgtm https://codereview.chromium.org/180363004/diff/140001/Source/bindings/v8/V8NPObject.cpp File Source/bindings/v8/V8NPObject.cpp (right): https://codereview.chromium.org/180363004/diff/140001/Source/bindings/v8/V8NPObject.cpp#newcode421 Source/bindings/v8/V8NPObject.cpp:421: blink doesn't have the 2 space rule
6 years, 9 months ago (2014-03-18 15:20:25 UTC) #8
vogelheim
https://codereview.chromium.org/180363004/diff/100001/Source/bindings/v8/V8NPObject.cpp File Source/bindings/v8/V8NPObject.cpp (left): https://codereview.chromium.org/180363004/diff/100001/Source/bindings/v8/V8NPObject.cpp#oldcode413 Source/bindings/v8/V8NPObject.cpp:413: ASSERT(staticNPObjectMap().containsKeyAndValue(npObject, data.GetValue())); On 2014/03/11 18:35:31, vogelheim wrote: > On ...
6 years, 9 months ago (2014-03-20 18:19:05 UTC) #9
vogelheim
The CQ bit was checked by vogelheim@chromium.org
6 years, 8 months ago (2014-04-07 14:04:41 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vogelheim@chromium.org/180363004/240001
6 years, 8 months ago (2014-04-07 14:04:46 UTC) #11
commit-bot: I haz the power
6 years, 8 months ago (2014-04-07 14:57:08 UTC) #12
Message was sent while issue was closed.
Change committed as 170974

Powered by Google App Engine
This is Rietveld 408576698