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

Unified Diff: runtime/bin/stdio_win.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/stdio_unsupported.cc ('k') | runtime/bin/sync_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/stdio_win.cc
diff --git a/runtime/bin/stdio_win.cc b/runtime/bin/stdio_win.cc
index 7e7690247f41c2656dbba99123acbfd48b324c91..a5f293d3b43da458b823576027abf8a2cc66d45d 100644
--- a/runtime/bin/stdio_win.cc
+++ b/runtime/bin/stdio_win.cc
@@ -34,7 +34,6 @@ bool Stdin::ReadByte(int* byte) {
return true;
}
-
bool Stdin::GetEchoMode(bool* enabled) {
HANDLE h = GetStdHandle(STD_INPUT_HANDLE);
DWORD mode;
@@ -45,7 +44,6 @@ bool Stdin::GetEchoMode(bool* enabled) {
return true;
}
-
bool Stdin::SetEchoMode(bool enabled) {
HANDLE h = GetStdHandle(STD_INPUT_HANDLE);
DWORD mode;
@@ -60,7 +58,6 @@ bool Stdin::SetEchoMode(bool enabled) {
return SetConsoleMode(h, mode);
}
-
bool Stdin::GetLineMode(bool* enabled) {
HANDLE h = GetStdHandle(STD_INPUT_HANDLE);
DWORD mode;
@@ -71,7 +68,6 @@ bool Stdin::GetLineMode(bool* enabled) {
return true;
}
-
bool Stdin::SetLineMode(bool enabled) {
HANDLE h = GetStdHandle(STD_INPUT_HANDLE);
DWORD mode;
@@ -86,7 +82,6 @@ bool Stdin::SetLineMode(bool enabled) {
return SetConsoleMode(h, mode);
}
-
bool Stdin::AnsiSupported(bool* supported) {
ASSERT(supported != NULL);
HANDLE h = GetStdHandle(STD_INPUT_HANDLE);
@@ -103,7 +98,6 @@ bool Stdin::AnsiSupported(bool* supported) {
return true;
}
-
bool Stdout::GetTerminalSize(intptr_t fd, int size[2]) {
HANDLE h;
if (fd == 1) {
@@ -120,7 +114,6 @@ bool Stdout::GetTerminalSize(intptr_t fd, int size[2]) {
return true;
}
-
bool Stdout::AnsiSupported(intptr_t fd, bool* supported) {
ASSERT(supported != NULL);
HANDLE h;
« no previous file with comments | « runtime/bin/stdio_unsupported.cc ('k') | runtime/bin/sync_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698