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

Unified Diff: base/trace_event/heap_profiler_allocation_register_win.cc

Issue 2929673005: Code cleanup and typos in trace_event [NFC] (Closed)
Patch Set: Created 3 years, 6 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
Index: base/trace_event/heap_profiler_allocation_register_win.cc
diff --git a/base/trace_event/heap_profiler_allocation_register_win.cc b/base/trace_event/heap_profiler_allocation_register_win.cc
index 39cbb1807286de16a57d4d731906c21509b724c5..438b0ea7370bd0f20bdd5872663c8f82b488e6ee 100644
--- a/base/trace_event/heap_profiler_allocation_register_win.cc
+++ b/base/trace_event/heap_profiler_allocation_register_win.cc
@@ -51,7 +51,7 @@ void* AllocateGuardedVirtualMemory(size_t size) {
}
void FreeGuardedVirtualMemory(void* address, size_t allocated_size) {
- // For |VirtualFree|, the size passed with |MEM_RELEASE| mut be 0. Windows
+ // For |VirtualFree|, the size passed with |MEM_RELEASE| must be 0. Windows
// automatically frees the entire region that was reserved by the
// |VirtualAlloc| with flag |MEM_RESERVE|.
VirtualFree(address, 0, MEM_RELEASE);
« no previous file with comments | « base/trace_event/heap_profiler_allocation_context_tracker.cc ('k') | base/trace_event/memory_dump_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698