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

Issue 356123002: Consolidate some text shadow code. (Closed)

Created:
6 years, 6 months ago by jbroman
Modified:
6 years, 5 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, kouhei+svg_chromium.org, fs, ed+blinkwatch_opera.com, krit, f(malita), gyuyoung.kim_webkit.org, jchaffraix+rendering, pdr., rwlbuis, Stephen Chennney, rune+blink
Project:
blink
Visibility:
Public.

Description

Consolidate some text shadow code. paintTextWithShadows had unused parameters, and identical logic for constructing a text shadow draw looper existed in three places. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177111

Patch Set 1 #

Patch Set 2 : ShadowAlphaMode #

Total comments: 2

Patch Set 3 : rendererToUse -> renderer() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -55 lines) Patch
M Source/core/rendering/EllipsisBox.cpp View 1 2 chunks +2 lines, -14 lines 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 2 10 chunks +14 lines, -29 lines 0 comments Download
M Source/core/rendering/style/ShadowList.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/rendering/style/ShadowList.cpp View 1 2 chunks +15 lines, -0 lines 0 comments Download
M Source/core/rendering/svg/SVGInlineTextBox.cpp View 1 2 chunks +2 lines, -12 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
jbroman
Just some deduplication of text shadow code. WDYT?
6 years, 5 months ago (2014-06-27 13:59:36 UTC) #1
Stephen Chennney
I think it's great. LGTM.
6 years, 5 months ago (2014-06-27 14:26:53 UTC) #2
f(malita)
Nice cleanup, lgtm. https://codereview.chromium.org/356123002/diff/20001/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (left): https://codereview.chromium.org/356123002/diff/20001/Source/core/rendering/InlineTextBox.cpp#oldcode698 Source/core/rendering/InlineTextBox.cpp:698: paintTextWithShadows(context, rendererToUse, font, textRun, nullAtom, 0, ...
6 years, 5 months ago (2014-06-27 14:29:47 UTC) #3
jbroman
https://codereview.chromium.org/356123002/diff/20001/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (left): https://codereview.chromium.org/356123002/diff/20001/Source/core/rendering/InlineTextBox.cpp#oldcode698 Source/core/rendering/InlineTextBox.cpp:698: paintTextWithShadows(context, rendererToUse, font, textRun, nullAtom, 0, 0, length, length, ...
6 years, 5 months ago (2014-06-27 15:07:00 UTC) #4
jbroman
The CQ bit was checked by jbroman@chromium.org
6 years, 5 months ago (2014-06-27 15:07:19 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbroman@chromium.org/356123002/40001
6 years, 5 months ago (2014-06-27 15:08:00 UTC) #6
commit-bot: I haz the power
6 years, 5 months ago (2014-06-27 16:15:45 UTC) #7
Message was sent while issue was closed.
Change committed as 177111

Powered by Google App Engine
This is Rietveld 408576698