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

Issue 10829153: The null tests that I added for Dart_NewString{8,16,32} were too restrictive. (Closed)

Created:
8 years, 4 months ago by turnidge
Modified:
8 years, 4 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, Anton Muhin
Visibility:
Public.

Description

The null tests that I added for Dart_NewString{8,16,32} were too restrictive. It is okay to pass NULL codepoints if the length is zero. This should fix the issue we were seeing in dartium. Committed: https://code.google.com/p/dart/source/detail?r=10204

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -3 lines) Patch
M vm/dart_api_impl.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M vm/dart_api_impl_test.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
turnidge
8 years, 4 months ago (2012-08-02 23:03:36 UTC) #1
Ivan Posva
8 years, 4 months ago (2012-08-02 23:05:19 UTC) #2
LGTM -ip

Powered by Google App Engine
This is Rietveld 408576698