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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 2983943002: Fix windows build errors. (Closed)
Patch Set: Created 3 years, 5 months 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
diff --git a/runtime/vm/dart_api_impl.cc b/runtime/vm/dart_api_impl.cc
index 36333b516b62e6d71d783acf18776c239ed7fdca..0b865fdf3952144666315a7d7d2f5245cd8e8f63 100644
--- a/runtime/vm/dart_api_impl.cc
+++ b/runtime/vm/dart_api_impl.cc
@@ -5117,7 +5117,7 @@ DART_EXPORT Dart_Handle Dart_LoadScript(Dart_Handle url,
}
void* kernel_pgm = reinterpret_cast<void*>(source);
result = LoadKernelProgram(T, resolved_url_str, kernel_pgm);
- if (Dart_IsError(result)) {
+ if (::Dart_IsError(result)) {
return result;
}
library ^= Library::LookupLibrary(T, resolved_url_str);
@@ -5470,7 +5470,7 @@ DART_EXPORT Dart_Handle Dart_LoadLibrary(Dart_Handle url,
// |source| as a kernel if the current isolate is the kernel isolate.
if (FLAG_use_dart_frontend && !KernelIsolate::IsKernelIsolate(I)) {
result = LoadKernelProgram(T, url_str, reinterpret_cast<void*>(source));
- if (Dart_IsError(result)) {
+ if (::Dart_IsError(result)) {
return result;
}
return Api::NewHandle(T, Library::LookupLibrary(T, url_str));
« 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