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

Issue 10827434: - Pass the correct version of handle reference to Class::NewNativeWrapper. (Closed)

Created:
8 years, 4 months ago by Ivan Posva
Modified:
8 years, 4 months ago
Reviewers:
siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Pass the correct version of handle reference to Class::NewNativeWrapper. Committed: https://code.google.com/p/dart/source/detail?r=11012

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -7 lines) Patch
M runtime/vm/dart_api_impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.cc View 4 chunks +5 lines, -5 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Ivan Posva
TBR -Ivan
8 years, 4 months ago (2012-08-21 02:49:27 UTC) #1
Bill Hesse
8 years, 4 months ago (2012-08-21 09:27:33 UTC) #2
On 2012/08/21 02:49:27, Ivan Posva wrote:
> TBR
> 
> -Ivan

LGTM.  Could you explain the principle of using const references for VM handles,
rather than pointers or references?  The const means that we can't change the
handle to point to a different object, right?

Powered by Google App Engine
This is Rietveld 408576698