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

Issue 311193009: Replace GraphicsContext::setupPaintFor* with const getters. (Closed)

Created:
6 years, 6 months ago by jbroman
Modified:
6 years, 6 months ago
CC:
blink-reviews, jamesr, krit, jbroman, danakj, Rik, Stephen Chennney, pdr., rwlbuis
Visibility:
Public.

Description

Replace GraphicsContext::setupPaintFor* with const getters. This is simpler, and marginally more efficient (as it avoids setting up the paint in a default state only to immediately overwrite it). GraphicsContext::setupShader is declared but never defined, so its declaration has been removed while here. BUG=381750 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175697

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -34 lines) Patch
M Source/platform/fonts/harfbuzz/FontHarfBuzz.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M Source/platform/fonts/mac/FontMac.cpp View 2 chunks +2 lines, -4 lines 0 comments Download
M Source/platform/graphics/GraphicsContext.h View 1 2 chunks +4 lines, -7 lines 0 comments Download
M Source/platform/graphics/GraphicsContext.cpp View 1 chunk +0 lines, -16 lines 0 comments Download
M Source/platform/graphics/StrokeData.h View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jbroman
6 years, 6 months ago (2014-06-06 18:09:15 UTC) #1
Stephen Chennney
lgtm. I think I just forgot to do this after the paint caching changes.
6 years, 6 months ago (2014-06-06 19:48:55 UTC) #2
Stephen Chennney
The CQ bit was checked by schenney@chromium.org
6 years, 6 months ago (2014-06-06 19:49:01 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/311193009/20001
6 years, 6 months ago (2014-06-06 19:49:18 UTC) #4
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 20:05:29 UTC) #5
Message was sent while issue was closed.
Change committed as 175697

Powered by Google App Engine
This is Rietveld 408576698