DescriptionAdd 'DirectionString' suffix to |rtl|, |ltr| and |inherit| constant identifiers.
After automatic rename by rewrite_to_chrome_style clang tool, the |rtl|,
|ltr| and |inherit| constant identifiers in CanvasRenderingContext2D.cpp
would become |kRtl|, |kLtr|, |kInherit| and would unfortunately conflict
with identifiers defined elsewhere (e.g. with |kRtl| and |kLtr| enum
values from TextDirection enum defined in TextDirection.h).
This CL preemptively prevents the problem above, by adding a
'DirectionString' suffix to the 3 affected identifiers in
CanvasRenderingContext2D.cpp
BUG=641004
Review-Url: https://codereview.chromium.org/2611723004
Cr-Commit-Position: refs/heads/master@{#442088}
Committed: https://chromium.googlesource.com/chromium/src/+/149963d671825cc359fa59c489880036cd114f8e
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|