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"); |