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

Unified Diff: tools/gn/header_checker.cc

Issue 1525183002: tools/gn: rename char_offset to column_number (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix indentation Created 5 years 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 | « tools/gn/err.cc ('k') | tools/gn/input_conversion_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/header_checker.cc
diff --git a/tools/gn/header_checker.cc b/tools/gn/header_checker.cc
index 05b624cac2e77480b4b180e112ea071a6bbedf95..ada9d70da47fcaf0e250eb5f2806af0753cbd2e9 100644
--- a/tools/gn/header_checker.cc
+++ b/tools/gn/header_checker.cc
@@ -63,11 +63,11 @@ LocationRange CreatePersistentRange(const InputFile& input_file,
return LocationRange(Location(clone_input_file,
range.begin().line_number(),
- range.begin().char_offset(),
+ range.begin().column_number(),
-1 /* TODO(scottmg) */),
Location(clone_input_file,
range.end().line_number(),
- range.end().char_offset(),
+ range.end().column_number(),
-1 /* TODO(scottmg) */));
}
« no previous file with comments | « tools/gn/err.cc ('k') | tools/gn/input_conversion_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698