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

Unified Diff: runtime/vm/thread_interrupter_linux.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/thread_interrupter_fuchsia.cc ('k') | runtime/vm/thread_interrupter_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread_interrupter_linux.cc
diff --git a/runtime/vm/thread_interrupter_linux.cc b/runtime/vm/thread_interrupter_linux.cc
index 8fe7265c54b7cc76e34eb3910c57b1e31de04a92..21945a8cccd46ba3a48ec7b94e1e3ba6ad4a8747 100644
--- a/runtime/vm/thread_interrupter_linux.cc
+++ b/runtime/vm/thread_interrupter_linux.cc
@@ -45,12 +45,10 @@ class ThreadInterrupterLinux : public AllStatic {
}
};
-
bool ThreadInterrupter::IsDebuggerAttached() {
return false;
}
-
void ThreadInterrupter::InterruptThread(OSThread* thread) {
if (FLAG_trace_thread_interrupter) {
OS::PrintErr("ThreadInterrupter interrupting %p\n",
@@ -60,13 +58,11 @@ void ThreadInterrupter::InterruptThread(OSThread* thread) {
ASSERT((result == 0) || (result == ESRCH));
}
-
void ThreadInterrupter::InstallSignalHandler() {
SignalHandler::Install<
ThreadInterrupterLinux::ThreadInterruptSignalHandler>();
}
-
void ThreadInterrupter::RemoveSignalHandler() {
SignalHandler::Remove();
}
« no previous file with comments | « runtime/vm/thread_interrupter_fuchsia.cc ('k') | runtime/vm/thread_interrupter_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698