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

Issue 15023010: Add Persistent::ClearAndLeak. (Closed)

Created:
7 years, 7 months ago by marja
Modified:
7 years, 7 months ago
Reviewers:
Sven Panne
CC:
v8-dev, dcarney
Base URL:
git://github.com/v8/v8.git@master
Visibility:
Public.

Description

Add Persistent::ClearAndLeak. This will be relevant after Persistent is changed to Dispose itself when destructed. With Persistent::ClearAndLeak, Blink can take the ownership of the object pointed by a Persistent and avoid it getting destructed. BUG= R=svenpanne@chromium.org Committed: http://code.google.com/p/v8/source/detail?r=14624

Patch Set 1 #

Total comments: 6

Patch Set 2 : Code review (svenpanne) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -0 lines) Patch
M include/v8.h View 1 3 chunks +26 lines, -0 lines 0 comments Download
M test/cctest/test-api.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
marja
svenpanne, ptal
7 years, 7 months ago (2013-05-10 10:34:52 UTC) #1
Sven Panne
lgtm https://codereview.chromium.org/15023010/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/15023010/diff/1/include/v8.h#newcode698 include/v8.h:698: V8_INLINE(T* LeakPersistent()); Please add a comment that it ...
7 years, 7 months ago (2013-05-10 12:00:02 UTC) #2
marja
Thanks for review! https://codereview.chromium.org/15023010/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/15023010/diff/1/include/v8.h#newcode698 include/v8.h:698: V8_INLINE(T* LeakPersistent()); On 2013/05/10 12:00:02, Sven ...
7 years, 7 months ago (2013-05-10 13:02:25 UTC) #3
Sven Panne
lgtm
7 years, 7 months ago (2013-05-10 13:06:57 UTC) #4
Michael Starzinger
7 years, 7 months ago (2013-05-10 14:04:58 UTC) #5
Message was sent while issue was closed.
Committed patchset #2 manually as r14624 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698