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

Issue 2611723004: Add 'DirectionString' suffix to |rtl|, |ltr| and |inherit| constant identifiers. (Closed)

Created:
3 years, 11 months ago by Łukasz Anforowicz
Modified:
3 years, 11 months ago
Reviewers:
Justin Novosad
CC:
chromium-reviews, ajuma+watch-canvas_chromium.org, dshwang, haraken, Rik, blink-reviews, dcheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add '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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -8 lines) Patch
M third_party/WebKit/Source/modules/canvas2d/CanvasRenderingContext2D.cpp View 2 chunks +8 lines, -8 lines 0 comments Download

Messages

Total messages: 12 (8 generated)
Łukasz Anforowicz
junov@, could you PTAL?
3 years, 11 months ago (2017-01-04 22:33:23 UTC) #4
Justin Novosad
lgtm
3 years, 11 months ago (2017-01-06 20:09:15 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2611723004/1
3 years, 11 months ago (2017-01-06 21:20:58 UTC) #9
commit-bot: I haz the power
3 years, 11 months ago (2017-01-06 23:14:05 UTC) #12
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/149963d671825cc359fa59c48988...

Powered by Google App Engine
This is Rietveld 408576698