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

Unified Diff: runtime/vm/native_message_handler.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/vm/native_entry_test.cc ('k') | runtime/vm/native_symbol.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/native_message_handler.cc
diff --git a/runtime/vm/native_message_handler.cc b/runtime/vm/native_message_handler.cc
index 41fbd2cabc0ecafbf6c75db597e20290b94c65d7..a09d77c793df69c7c29e3f6d39989c6e9d97821e 100644
--- a/runtime/vm/native_message_handler.cc
+++ b/runtime/vm/native_message_handler.cc
@@ -15,19 +15,16 @@ NativeMessageHandler::NativeMessageHandler(const char* name,
Dart_NativeMessageHandler func)
: name_(strdup(name)), func_(func) {}
-
NativeMessageHandler::~NativeMessageHandler() {
free(name_);
}
-
#if defined(DEBUG)
void NativeMessageHandler::CheckAccess() {
ASSERT(Isolate::Current() == NULL);
}
#endif
-
MessageHandler::MessageStatus NativeMessageHandler::HandleMessage(
Message* message) {
if (message->IsOOB()) {
« no previous file with comments | « runtime/vm/native_entry_test.cc ('k') | runtime/vm/native_symbol.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698