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

Unified Diff: runtime/bin/extensions_win.cc

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge 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 | « runtime/bin/extensions_macos.cc ('k') | runtime/bin/fdutils_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « runtime/bin/extensions_macos.cc ('k') | runtime/bin/fdutils_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698