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

Issue 16206014: Add Persistent::Upcast. (Closed)

Created:
7 years, 6 months ago by marja
Modified:
7 years, 6 months ago
Reviewers:
dcarney, Sven Panne
CC:
v8-dev
Visibility:
Public.

Description

Add Value::Cast. It's needed for upcasting Persistent<Object> to Persistent<Value> after handlepocalypse (with Persistent::As or Persistent::Cast). BUG= R=svenpanne@chromium.org Committed: https://code.google.com/p/v8/source/detail?r=14995

Patch Set 1 #

Total comments: 1

Patch Set 2 : add Value::Cast #

Patch Set 3 : . #

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

Messages

Total messages: 7 (0 generated)
marja
dcarney, svenpanne, ptal.
7 years, 6 months ago (2013-06-04 15:58:19 UTC) #1
Sven Panne
https://codereview.chromium.org/16206014/diff/1/include/v8.h File include/v8.h (right): https://codereview.chromium.org/16206014/diff/1/include/v8.h#newcode598 include/v8.h:598: static Persistent<T>& Upcast(Persistent<S>& that)) { // NOLINT How does ...
7 years, 6 months ago (2013-06-05 07:08:49 UTC) #2
marja
On 2013/06/05 07:08:49, Sven Panne wrote: > https://codereview.chromium.org/16206014/diff/1/include/v8.h > File include/v8.h (right): > > https://codereview.chromium.org/16206014/diff/1/include/v8.h#newcode598 ...
7 years, 6 months ago (2013-06-05 07:22:35 UTC) #3
Sven Panne
On 2013/06/05 07:22:35, marja wrote: > On 2013/06/05 07:08:49, Sven Panne wrote: > > https://codereview.chromium.org/16206014/diff/1/include/v8.h ...
7 years, 6 months ago (2013-06-05 07:30:29 UTC) #4
marja
Alright, I don't know either why there was no Value::Cast. So I rewrote this CL ...
7 years, 6 months ago (2013-06-06 14:49:54 UTC) #5
Sven Panne
lgtm
7 years, 6 months ago (2013-06-07 06:56:02 UTC) #6
dcarney
7 years, 6 months ago (2013-06-07 08:46:45 UTC) #7
Message was sent while issue was closed.
Committed patchset #3 manually as r14995 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698