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

Issue 9722031: Check for null when invoking a native method. (Closed)

Created:
8 years, 9 months ago by ngeoffray
Modified:
8 years, 9 months ago
Reviewers:
floitsch, kasperl
CC:
reviews_dartlang.org, ahe, Lasse Reichstein Nielsen, karlklose, sra1
Visibility:
Public.

Description

Check for null when invoking a native method. Committed: https://code.google.com/p/dart/source/detail?r=5626

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -9 lines) Patch
M client/tests/client/client-leg.status View 1 chunk +0 lines, -5 lines 0 comments Download
M frog/leg/native_emitter.dart View 1 1 chunk +6 lines, -2 lines 0 comments Download
A frog/tests/native/src/NativeNullFrogTest.dart View 1 chunk +35 lines, -0 lines 0 comments Download
M samples/tests/samples/samples.status View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
ngeoffray
I'm placing the check very eagerly and knowing it slows down performance, but I need ...
8 years, 9 months ago (2012-03-18 18:28:13 UTC) #1
floitsch
LGTM. https://chromiumcodereview.appspot.com/9722031/diff/1/frog/leg/native_emitter.dart File frog/leg/native_emitter.dart (right): https://chromiumcodereview.appspot.com/9722031/diff/1/frog/leg/native_emitter.dart#newcode159 frog/leg/native_emitter.dart:159: var result = function() { 'result' doesn't seem ...
8 years, 9 months ago (2012-03-18 18:34:21 UTC) #2
ngeoffray
8 years, 9 months ago (2012-03-18 18:54:06 UTC) #3
Thanks Florian

https://chromiumcodereview.appspot.com/9722031/diff/1/frog/leg/native_emitter...
File frog/leg/native_emitter.dart (right):

https://chromiumcodereview.appspot.com/9722031/diff/1/frog/leg/native_emitter...
frog/leg/native_emitter.dart:159: var result = function() {
On 2012/03/18 18:34:22, floitsch wrote:
> 'result' doesn't seem to be the right name. Maybe nullCheckingMethod. ?

Done.

Powered by Google App Engine
This is Rietveld 408576698