Index: runtime/bin/extensions_win.cc |
diff --git a/runtime/bin/extensions_win.cc b/runtime/bin/extensions_win.cc |
index dcc82d0beb6d0fb4c29ba785ce6708415b7841c1..8baf714f5b86e7045b35a259f3334288e100c430 100644 |
--- a/runtime/bin/extensions_win.cc |
+++ b/runtime/bin/extensions_win.cc |
@@ -33,20 +33,17 @@ void* Extensions::LoadExtensionLibrary(const char* library_file) { |
return ext; |
} |
- |
void* Extensions::ResolveSymbol(void* lib_handle, const char* symbol) { |
SetLastError(0); |
return GetProcAddress(reinterpret_cast<HMODULE>(lib_handle), symbol); |
} |
- |
void Extensions::UnloadLibrary(void* lib_handle) { |
SetLastError(0); |
BOOL result = FreeLibrary(reinterpret_cast<HMODULE>(lib_handle)); |
ASSERT(result); |
} |
- |
Dart_Handle Extensions::GetError() { |
int last_error = GetLastError(); |
if (last_error != 0) { |