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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 8773015: Add some ::'s to disambiguate calls for the win32 build. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698