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

Issue 24210003: Never return a Dart_Handle on a dart::Class from the embedding API. (Closed)

Created:
7 years, 3 months ago by rmacnak
Modified:
7 years, 3 months ago
Reviewers:
siva, Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Jacob
Visibility:
Public.

Description

Never return a Dart_Handle on a dart::Class from the embedding API. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=27715

Patch Set 1 #

Patch Set 2 : . #

Total comments: 12

Patch Set 3 : UnwrapTypeHandle, ClassName->TypeName #

Total comments: 1

Patch Set 4 : remove Dart_IsClass from header. remove demo assert #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -187 lines) Patch
M runtime/include/dart_api.h View 1 2 3 2 chunks +0 lines, -13 lines 0 comments Download
M runtime/include/dart_debugger_api.h View 1 chunk +0 lines, -10 lines 0 comments Download
M runtime/include/dart_mirrors_api.h View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 10 chunks +22 lines, -86 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 4 chunks +18 lines, -36 lines 0 comments Download
M runtime/vm/debugger_api_impl.cc View 1 2 4 chunks +8 lines, -22 lines 0 comments Download
M runtime/vm/debugger_api_impl_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/mirrors_api_impl.cc View 1 2 4 chunks +16 lines, -17 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rmacnak
https://codereview.chromium.org/24210003/diff/3001/runtime/vm/raw_object.h File runtime/vm/raw_object.h (right): https://codereview.chromium.org/24210003/diff/3001/runtime/vm/raw_object.h#newcode350 runtime/vm/raw_object.h:350: bool IsRawClass() { Will remove before commit, just here ...
7 years, 3 months ago (2013-09-19 00:46:04 UTC) #1
siva
https://codereview.chromium.org/24210003/diff/3001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/24210003/diff/3001/runtime/vm/dart_api_impl.cc#newcode2826 runtime/vm/dart_api_impl.cc:2826: result = Api::UnwrapHandle(type); You should be able to use ...
7 years, 3 months ago (2013-09-19 03:16:57 UTC) #2
rmacnak
https://codereview.chromium.org/24210003/diff/3001/runtime/vm/dart_api_impl_test.cc File runtime/vm/dart_api_impl_test.cc (right): https://codereview.chromium.org/24210003/diff/3001/runtime/vm/dart_api_impl_test.cc#newcode214 runtime/vm/dart_api_impl_test.cc:214: } On 2013/09/19 03:16:58, siva wrote: > Why is ...
7 years, 3 months ago (2013-09-19 17:45:53 UTC) #3
siva
lgtm https://codereview.chromium.org/24210003/diff/11001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): https://codereview.chromium.org/24210003/diff/11001/runtime/vm/dart_api_impl.cc#newcode1307 runtime/vm/dart_api_impl.cc:1307: Dart_IsClass needs to be removed from dart_api.h
7 years, 3 months ago (2013-09-19 20:15:00 UTC) #4
rmacnak
On 2013/09/19 20:15:00, siva wrote: > lgtm > > https://codereview.chromium.org/24210003/diff/11001/runtime/vm/dart_api_impl.cc > File runtime/vm/dart_api_impl.cc (right): > ...
7 years, 3 months ago (2013-09-19 23:53:18 UTC) #5
rmacnak
7 years, 3 months ago (2013-09-20 18:30:25 UTC) #6
Message was sent while issue was closed.
Committed patchset #4 manually as r27715 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698