| Index: tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp
|
| diff --git a/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp b/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp
|
| index eced8e2d4ff3c77b31cae9180377157432352bf9..9f009511d65a61714399159976eaf5d7fbcf2e7a 100644
|
| --- a/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp
|
| +++ b/tools/clang/rewrite_to_chrome_style/RewriteToChromeStyle.cpp
|
| @@ -439,7 +439,7 @@ bool IsBlacklistedInstanceMethodName(llvm::StringRef name) {
|
|
|
| // https://crbug.com/672902: Should not rewrite names that mimick methods
|
| // from std library.
|
| - "back", "empty", "erase", "front", "insert",
|
| + "back", "empty", "erase", "front", "insert", "length", "size",
|
| };
|
| for (const auto& b : kBlacklistedNames) {
|
| if (name == b)
|
| @@ -662,7 +662,6 @@ bool ShouldPrefixFunctionName(const std::string& old_method_name) {
|
| "layoutBlock",
|
| "layoutObject",
|
| "layoutSize",
|
| - "length",
|
| "lineCap",
|
| "lineEndings",
|
| "lineJoin",
|
|
|