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

Issue 724063004: Simplify GraphicsContext::couldUseLCDRenderedText() (Closed)

Created:
6 years, 1 month ago by f(malita)
Modified:
6 years, 1 month ago
CC:
blink-reviews, krit, Rik, jbroman, danakj, pdr+graphicswatchlist_chromium.org, rwlbuis
Project:
blink
Visibility:
Public.

Description

Simplify GraphicsContext::couldUseLCDRenderedText() After https://codereview.chromium.org/719253002, Skia disables LCD text for non-opaque save-layers automatically. Also remove a couple of single-use getters. R=reed@google.com,jbroman@chromium.org,senorblanco@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185342

Patch Set 1 #

Patch Set 2 : let's cut deeper #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -16 lines) Patch
M Source/platform/graphics/GraphicsContext.h View 1 2 chunks +1 line, -3 lines 0 comments Download
M Source/platform/graphics/GraphicsContext.cpp View 1 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
f(malita)
6 years, 1 month ago (2014-11-14 00:55:53 UTC) #3
jbroman
lgtm
6 years, 1 month ago (2014-11-14 01:04:01 UTC) #4
Stephen White
LGTM. BTW, why don't we need the check for contextDisabled()? Not relevant anymore?
6 years, 1 month ago (2014-11-14 01:47:04 UTC) #5
f(malita)
On 2014/11/14 01:47:04, Stephen White wrote: > BTW, why don't we need the check for ...
6 years, 1 month ago (2014-11-14 02:13:57 UTC) #6
Stephen White
On 2014/11/14 02:13:57, Florin Malita wrote: > On 2014/11/14 01:47:04, Stephen White wrote: > > ...
6 years, 1 month ago (2014-11-14 02:16:31 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/724063004/20001
6 years, 1 month ago (2014-11-14 02:21:23 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 185342
6 years, 1 month ago (2014-11-14 02:23:55 UTC) #10
Stephen Chennney
6 years, 1 month ago (2014-11-14 15:30:14 UTC) #11
Message was sent while issue was closed.
On 2014/11/14 02:16:31, Stephen White wrote:
> On 2014/11/14 02:13:57, Florin Malita wrote:
> > On 2014/11/14 01:47:04, Stephen White wrote:
> > > BTW, why don't we need the check for contextDisabled()? Not relevant
> anymore?
> > 
> > I don't think it was relevant before either: the method has no side effects,
> and
> > with a disabled context we're not going to draw anything anyway (and most
> likely
> > we won't even reach this as all GC draw entry points also check for
> > contextDisabled).
> 
> Makes sense. Thanks for the explanation.

Probably I added it when guarding all null-canvas access. I don't know if the
code was reachable with a null canvas.

Powered by Google App Engine
This is Rietveld 408576698