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

Unified Diff: runtime/vm/zone_text_buffer.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/zone_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/zone_text_buffer.cc
diff --git a/runtime/vm/zone_text_buffer.cc b/runtime/vm/zone_text_buffer.cc
index 172940303032e8cb92401e027f2010287baa4adb..43a90e74e3c3e80bd91906fda4ad358efa8ac5db 100644
--- a/runtime/vm/zone_text_buffer.cc
+++ b/runtime/vm/zone_text_buffer.cc
@@ -20,7 +20,6 @@ ZoneTextBuffer::ZoneTextBuffer(Zone* zone, intptr_t initial_capacity)
buffer_[length_] = '\0';
}
-
intptr_t ZoneTextBuffer::Printf(const char* format, ...) {
va_list args;
va_start(args, format);
@@ -43,12 +42,10 @@ intptr_t ZoneTextBuffer::Printf(const char* format, ...) {
return len;
}
-
void ZoneTextBuffer::AddString(const char* s) {
Printf("%s", s);
}
-
void ZoneTextBuffer::EnsureCapacity(intptr_t len) {
intptr_t remaining = capacity_ - length_;
if (remaining <= len) {
« no previous file with comments | « runtime/vm/zone_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698