DescriptionRemove Label::PaintText overrides.
This is simple cleanup in preparation for a Label rewrite.
These overrides were supplying an extra gfx::Canvas flag.
Instead, add an explicit label flag for NO_SUBPIXEL_RENDERING.
Update some callers and the unit test.
TODO(followup): Update more Label::SetBackgroundColor callers.
BUG=240037
TEST=No exit warning or sticky keys label rendering changes.
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278213
Patch Set 1 #Patch Set 2 : Fix a comment typo. #
Total comments: 2
Patch Set 3 : Add an explicit flag and setter, update unit test. #Patch Set 4 : Sync and rebase. #
Messages
Total messages: 11 (0 generated)
|