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

Issue 343813002: Explicitly compare FontVariant to enumerators. (Closed)

Created:
6 years, 6 months ago by jbroman
Modified:
6 years, 6 months ago
CC:
blink-reviews, jamesr, blink-reviews-rendering, krit, zoltan1, eae+blinkwatch, leviw+renderwatch, jbroman, danakj, Rik, jchaffraix+rendering, pdr., rwlbuis, Stephen Chennney, rune+blink
Project:
blink
Visibility:
Public.

Description

Explicitly compare FontVariant to enumerators. It's a little opaque to say "if (fontDescription.variant())". Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176472

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -6 lines) Patch
M Source/core/rendering/RenderText.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/Font.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/WidthIterator.cpp View 1 chunk +2 lines, -1 line 0 comments Download
M Source/platform/fonts/harfbuzz/HarfBuzzShaper.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/fonts/mac/ComplexTextController.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jbroman
Treating FontVariant as a boolean is a little difficult to read. PTAL.
6 years, 6 months ago (2014-06-18 23:01:20 UTC) #1
eae
LGTM
6 years, 6 months ago (2014-06-19 00:19:29 UTC) #2
eae
The CQ bit was checked by eae@chromium.org
6 years, 6 months ago (2014-06-19 00:19:32 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbroman@chromium.org/343813002/1
6 years, 6 months ago (2014-06-19 00:20:00 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 01:01:39 UTC) #5
Message was sent while issue was closed.
Change committed as 176472

Powered by Google App Engine
This is Rietveld 408576698