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

Issue 472083002: Move the shadows out of paintTextWithShadows. (Closed)

Created:
6 years, 4 months ago by jbroman
Modified:
6 years, 4 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Project:
blink
Visibility:
Public.

Description

Move the shadows out of paintTextWithShadows. It unnecessarily entangles one aspect of style with the actual text painting. Also rename it paintText since it no longer deals with shadows. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180741

Patch Set 1 #

Total comments: 10

Patch Set 2 : more aggressive refactor - DO NOT SUBMIT 10% regression #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : review comments #

Total comments: 2

Patch Set 5 : GraphicsContextStateSaver& #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -159 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/rendering/InlineTextBox.h View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/InlineTextBox.cpp View 1 2 3 4 9 chunks +120 lines, -158 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jbroman
Dealing with the shadows inside of paintTextWithShadows and everything else outside hasn't made sense since ...
6 years, 4 months ago (2014-08-14 20:53:52 UTC) #1
jbroman
+schenney, who may care and I neglected to add as a reviewer initially
6 years, 4 months ago (2014-08-14 21:19:33 UTC) #2
f(malita)
I like the idea, but this shadow business makes my head spin :) https://codereview.chromium.org/472083002/diff/1/Source/core/rendering/InlineTextBox.cpp File ...
6 years, 4 months ago (2014-08-15 02:01:06 UTC) #3
jbroman
drastic changes; PTAL https://codereview.chromium.org/472083002/diff/1/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (right): https://codereview.chromium.org/472083002/diff/1/Source/core/rendering/InlineTextBox.cpp#newcode357 Source/core/rendering/InlineTextBox.cpp:357: context->clearDrawLooper(); On 2014/08/15 02:01:06, Florin Malita ...
6 years, 4 months ago (2014-08-19 18:00:44 UTC) #4
f(malita)
Great cleanup! https://codereview.chromium.org/472083002/diff/40001/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (right): https://codereview.chromium.org/472083002/diff/40001/Source/core/rendering/InlineTextBox.cpp#newcode515 Source/core/rendering/InlineTextBox.cpp:515: static void updateGraphicsContext(GraphicsContext* context, const TextPaintingStyle& textStyle, ...
6 years, 4 months ago (2014-08-20 18:55:46 UTC) #5
jbroman
Done. Apologies for diff ugliness due to code movement. https://codereview.chromium.org/472083002/diff/40001/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (right): https://codereview.chromium.org/472083002/diff/40001/Source/core/rendering/InlineTextBox.cpp#newcode515 Source/core/rendering/InlineTextBox.cpp:515: ...
6 years, 4 months ago (2014-08-20 19:32:25 UTC) #6
f(malita)
LGTM, assuming perf looks good :) https://codereview.chromium.org/472083002/diff/60001/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (right): https://codereview.chromium.org/472083002/diff/60001/Source/core/rendering/InlineTextBox.cpp#newcode465 Source/core/rendering/InlineTextBox.cpp:465: if (stateSaver) { ...
6 years, 4 months ago (2014-08-20 20:55:40 UTC) #7
jbroman
The CQ bit was checked by jbroman@chromium.org
6 years, 4 months ago (2014-08-20 21:02:24 UTC) #8
jbroman
On 2014/08/20 20:55:40, Florin Malita wrote: > LGTM, assuming perf looks good :) > > ...
6 years, 4 months ago (2014-08-20 21:03:18 UTC) #9
jbroman
https://codereview.chromium.org/472083002/diff/60001/Source/core/rendering/InlineTextBox.cpp File Source/core/rendering/InlineTextBox.cpp (right): https://codereview.chromium.org/472083002/diff/60001/Source/core/rendering/InlineTextBox.cpp#newcode465 Source/core/rendering/InlineTextBox.cpp:465: if (stateSaver) { On 2014/08/20 20:55:40, Florin Malita wrote: ...
6 years, 4 months ago (2014-08-20 21:03:24 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbroman@chromium.org/472083002/80001
6 years, 4 months ago (2014-08-20 21:03:26 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-20 22:12:52 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-20 22:15:08 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/linux_blink_rel/builds/21573)
6 years, 4 months ago (2014-08-20 22:15:09 UTC) #14
jbroman
The CQ bit was checked by jbroman@chromium.org
6 years, 4 months ago (2014-08-21 12:44:45 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbroman@chromium.org/472083002/80001
6 years, 4 months ago (2014-08-21 12:45:29 UTC) #16
jbroman
The CQ bit was unchecked by jbroman@chromium.org
6 years, 4 months ago (2014-08-21 18:58:32 UTC) #17
jbroman
The CQ bit was checked by jbroman@chromium.org
6 years, 4 months ago (2014-08-21 18:59:07 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jbroman@chromium.org/472083002/80001
6 years, 4 months ago (2014-08-21 18:59:13 UTC) #19
commit-bot: I haz the power
6 years, 4 months ago (2014-08-21 22:01:01 UTC) #20
Message was sent while issue was closed.
Committed patchset #5 (80001) as 180741

Powered by Google App Engine
This is Rietveld 408576698