| Index: runtime/vm/dart_api_impl.cc
|
| ===================================================================
|
| --- runtime/vm/dart_api_impl.cc (revision 1988)
|
| +++ runtime/vm/dart_api_impl.cc (working copy)
|
| @@ -1404,7 +1404,7 @@
|
| Dart_Handle result;
|
| indexobj = Integer::New(index);
|
| element = GetListAt(isolate, instance, indexobj, function, &result);
|
| - if (Dart_IsError(result)) {
|
| + if (::Dart_IsError(result)) {
|
| return result; // Error condition.
|
| }
|
| return Api::NewLocalHandle(element);
|
| @@ -1528,7 +1528,7 @@
|
| for (int i = 0; i < length; i++) {
|
| intobj = Integer::New(offset + i);
|
| element = GetListAt(isolate, instance, intobj, function, &result);
|
| - if (Dart_IsError(result)) {
|
| + if (::Dart_IsError(result)) {
|
| return result; // Error condition.
|
| }
|
| if (!element.IsInteger()) {
|
| @@ -1586,7 +1586,7 @@
|
| indexobj = Integer::New(offset + i);
|
| valueobj = Integer::New(native_array[i]);
|
| SetListAt(isolate, instance, indexobj, valueobj, function, &result);
|
| - if (Dart_IsError(result)) {
|
| + if (::Dart_IsError(result)) {
|
| return result; // Error condition.
|
| }
|
| }
|
|
|