[go: nahoru, domu]

Reduce references to `Layout()` in comments: ash/

Where possible, change comments to talk about "layout" (the process)
instead of "Layout()" (the method). Ultimately we want most of the
process of layout to be performed by layout managers, not directly in
Layout(), so this makes comments more future-proof. This also reduces
the number of string search hits for "Layout()" when making sure we
audit overrides.

Bug: 1521108
Change-Id: I4a23857ed6296216fb7474568f2f975a21c8b10d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5241701
Reviewed-by: Denis Kuznetsov <antrim@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Commit-Queue: Ahmed Fakhry <afakhry@chromium.org>
Auto-Submit: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1253347}
diff --git a/ash/hud_display/graph.h b/ash/hud_display/graph.h
index fe23421..7917f88 100644
--- a/ash/hud_display/graph.h
+++ b/ash/hud_display/graph.h
@@ -24,7 +24,7 @@
 
 class Graph {
  public:
-  // Graph screen size (that is used in Layout()) should match (ring buffer
+  // Graph screen size (that is used during layout) should match (ring buffer
   // size - 1) to prevent scaling, because RingBuffer always keeps one element
   // unused.
   using Data = base::RingBuffer<float, kHUDGraphWidth + 1>;