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

Unified Diff: third_party/WebKit/Source/build/scripts/name_utilities.py

Issue 2329463004: ABANDONED CL: Changes needed to make things compile after running rewrite_to_chrome_style tool. (Closed)
Patch Set: More fixes - things build fine at this point. Created 3 years, 8 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: third_party/WebKit/Source/build/scripts/name_utilities.py
diff --git a/third_party/WebKit/Source/build/scripts/name_utilities.py b/third_party/WebKit/Source/build/scripts/name_utilities.py
index cd4dad7997dbf9d9a72829fe8c41cce744b164d8..df4b8436ffa47b13757457b0fc973c236768884e 100644
--- a/third_party/WebKit/Source/build/scripts/name_utilities.py
+++ b/third_party/WebKit/Source/build/scripts/name_utilities.py
@@ -148,11 +148,12 @@ def enum_value_name(name):
def class_member_name(name):
- return 'm_' + lower_camel_case(name)
+ lower_case_words = [word.lower() for word in split_name(name)]
+ return "_".join(lower_case_words) + "_"
def method_name(name):
- return lower_camel_case(name)
+ return upper_camel_case(name)
def join_name(*names):

Powered by Google App Engine
This is Rietveld 408576698