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

Unified Diff: runtime/bin/vmservice_dartium.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/utils_win.cc ('k') | runtime/bin/vmservice_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice_dartium.cc
diff --git a/runtime/bin/vmservice_dartium.cc b/runtime/bin/vmservice_dartium.cc
index 2b674d2193abeb69406a4df420fec05fce412b0c..7c84daa36349e8d6c47cc3459cfa71c03fc956f4 100644
--- a/runtime/bin/vmservice_dartium.cc
+++ b/runtime/bin/vmservice_dartium.cc
@@ -45,7 +45,6 @@ void VmServiceServer::Bootstrap() {
EventHandler::Start();
}
-
Dart_Isolate VmServiceServer::CreateIsolate(const uint8_t* snapshot_buffer) {
ASSERT(snapshot_buffer != NULL);
// Create the isolate.
@@ -66,11 +65,10 @@ Dart_Isolate VmServiceServer::CreateIsolate(const uint8_t* snapshot_buffer) {
ASSERT(Dart_IsServiceIsolate(isolate));
if (!VmService::Setup(
- IsIpv6Only() ? DEFAULT_VM_SERVICE_SERVER_IP_V6 :
- DEFAULT_VM_SERVICE_SERVER_IP_V4,
- DEFAULT_VM_SERVICE_SERVER_PORT,
- false /* running_precompiled */, false /* disable origin checks */,
- false /* trace_loading */)) {
+ IsIpv6Only() ? DEFAULT_VM_SERVICE_SERVER_IP_V6
+ : DEFAULT_VM_SERVICE_SERVER_IP_V4,
+ DEFAULT_VM_SERVICE_SERVER_PORT, false /* running_precompiled */,
+ false /* disable origin checks */, false /* trace_loading */)) {
fprintf(stderr, "Vmservice::Setup failed: %s\n",
VmService::GetErrorMessage());
isolate = NULL;
@@ -80,12 +78,10 @@ Dart_Isolate VmServiceServer::CreateIsolate(const uint8_t* snapshot_buffer) {
return isolate;
}
-
const char* VmServiceServer::GetServerAddress() {
return VmService::GetServerAddress();
}
-
void VmServiceServer::DecompressAssets(const uint8_t* input,
unsigned int input_len,
uint8_t** output,
@@ -148,7 +144,6 @@ void VmServiceServer::DecompressAssets(const uint8_t* input,
inflateEnd(&strm);
}
-
/* DISALLOW_ALLOCATION */
void VmServiceServer::operator delete(void* pointer) {
fprintf(stderr, "unreachable code\n");
« no previous file with comments | « runtime/bin/utils_win.cc ('k') | runtime/bin/vmservice_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698