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

Issue 2904383002: Make TextIndentLine an enum class. (Closed)

Created:
3 years, 6 months ago by shend
Modified:
3 years, 6 months ago
Reviewers:
nainar, eae
CC:
blink-reviews, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make TextIndentLine an enum class. This patch makes TextIndentLine an enum class for type safety. The only change to callers is where TextIndentLine::kEachLine was being used as a synonym for 'true'. This has been removed with no changes in behaviour. BUG=684966 Review-Url: https://codereview.chromium.org/2904383002 Cr-Commit-Position: refs/heads/master@{#475438} Committed: https://chromium.googlesource.com/chromium/src/+/1b5744eb7bae3f1d327084a487cb96f858ba4b1e

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h View 1 chunk +3 lines, -2 lines 1 comment Download
M third_party/WebKit/Source/core/style/ComputedStyleConstants.h View 1 chunk +1 line, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (9 generated)
shend
Hi Naina, PTAL
3 years, 6 months ago (2017-05-29 01:48:44 UTC) #4
nainar
lgtm. Also maybe run this by eae@ or someone on the layout just to make ...
3 years, 6 months ago (2017-05-29 01:52:50 UTC) #5
shend
eae, PTAL. Thanks!
3 years, 6 months ago (2017-05-29 22:49:35 UTC) #9
eae
LGTM https://codereview.chromium.org/2904383002/diff/1/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h File third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h (right): https://codereview.chromium.org/2904383002/diff/1/third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h#newcode1565 third_party/WebKit/Source/core/layout/line/BreakingContextInlineHeaders.h:1565: style.GetTextIndentLine() != TextIndentLine::kFirstLine)) Thanks for reversing the check ...
3 years, 6 months ago (2017-05-30 03:57:22 UTC) #10
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/2904383002/1
3 years, 6 months ago (2017-05-30 04:01:56 UTC) #12
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 06:12:49 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1b5744eb7bae3f1d327084a487cb...

Powered by Google App Engine
This is Rietveld 408576698