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

Unified Diff: runtime/bin/extensions.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/eventhandler_win.cc ('k') | runtime/bin/extensions_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/extensions.cc
diff --git a/runtime/bin/extensions.cc b/runtime/bin/extensions.cc
index 9a537830f9905f32f1767df93b224163c993d1b6..9f8edfec2f96b75543e70ab0d68a73e445fc0684 100644
--- a/runtime/bin/extensions.cc
+++ b/runtime/bin/extensions.cc
@@ -23,7 +23,6 @@ static char PathSeparator() {
return sep[0];
}
-
void* Extensions::MakePathAndResolve(const char* dir, const char* name) {
// First try to find the library with a suffix specifying the architecture.
{
@@ -59,7 +58,6 @@ void* Extensions::MakePathAndResolve(const char* dir, const char* name) {
}
}
-
// IMPORTANT: In the absolute path case, do not extract the filename and search
// for that by passing it to LoadLibrary. That can lead to confusion in
// which the absolute path is wrong, and a different version of the library is
@@ -74,7 +72,6 @@ void* Extensions::ResolveAbsPathExtension(const char* extension_path) {
return library_handle;
}
-
void* Extensions::ResolveExtension(const char* extension_directory,
const char* extension_name) {
// If the path following dart-ext is an absolute path, then only look for the
@@ -96,7 +93,6 @@ void* Extensions::ResolveExtension(const char* extension_directory,
return MakePathAndResolve("", extension_name);
}
-
Dart_Handle Extensions::LoadExtension(const char* extension_directory,
const char* extension_name,
Dart_Handle parent_library) {
@@ -123,7 +119,6 @@ Dart_Handle Extensions::LoadExtension(const char* extension_directory,
return (*fn)(parent_library);
}
-
// Concatenates a NULL terminated array of strings.
// The returned string is scope allocated.
const char* Extensions::Concatenate(const char** strings) {
« no previous file with comments | « runtime/bin/eventhandler_win.cc ('k') | runtime/bin/extensions_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698