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

Issue 2705723002: Convert SkiaBitLocker to use PaintCanvas (Closed)

Created:
3 years, 10 months ago by enne (OOO)
Modified:
3 years, 10 months ago
CC:
ajuma+watch_chromium.org, blink-reviews, blink-reviews-platform-graphics_chromium.org, Rik, chromium-reviews, danakj+watch_chromium.org, dshwang, drott+blinkwatch_chromium.org, krit, fmalita+watch_chromium.org, jbroman, kinuko+watch, mac-reviews_chromium.org, pdr+graphicswatchlist_chromium.org, rwlbuis, Stephen Chennney
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert SkiaBitLocker to use PaintCanvas SkiaBitLocker currently operates on SkCanvas, but is only used as a helper for recording mac scrollbars. As a part of changing out the backend of how recordings are stored, this SkCanvas will be changed to cc::PaintCanvas. As this class is no longer dealing with Skia objects, rename it to GraphicsContextCanvas and move it and its tests to platform/mac as there is only one class that uses it. This will allow this code to continue working when cc::PaintCanvas is not a typedef to SkCanvas and is a separate concrete class. BUG=671433 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Review-Url: https://codereview.chromium.org/2705723002 Cr-Commit-Position: refs/heads/master@{#452938} Committed: https://chromium.googlesource.com/chromium/src/+/7e40b4199bd624399e821ac4dc7d0bcf2980d7b1

Patch Set 1 #

Patch Set 2 : Remove rogue cc:: #

Unified diffs Side-by-side diffs Delta from patch set Stats (+281 lines, -233 lines) Patch
M skia/ext/skia_utils_mac.h View 2 chunks +0 lines, -43 lines 0 comments Download
M skia/ext/skia_utils_mac.mm View 1 chunk +0 lines, -122 lines 0 comments Download
M skia/ext/skia_utils_mac_unittest.mm View 4 chunks +0 lines, -64 lines 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/paint/PaintCanvas.h View 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/mac/GraphicsContextCanvas.h View 1 chunk +61 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/mac/GraphicsContextCanvas.mm View 1 chunk +137 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/mac/GraphicsContextCanvasTest.mm View 1 1 chunk +75 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/mac/LocalCurrentGraphicsContext.mm View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
enne (OOO)
3 years, 10 months ago (2017-02-17 23:12:57 UTC) #4
enne (OOO)
(ping)
3 years, 10 months ago (2017-02-22 19:42:12 UTC) #8
enne (OOO)
junov, do you need me to find somebody else for this?
3 years, 10 months ago (2017-02-24 19:33:58 UTC) #10
Justin Novosad
sorry for the delay. lgtm
3 years, 10 months ago (2017-02-24 19:47:59 UTC) #11
enne (OOO)
No worries! Thanks. :)
3 years, 10 months ago (2017-02-24 19:49:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2705723002/20001
3 years, 10 months ago (2017-02-24 19:50:10 UTC) #14
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 21:51:04 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/7e40b4199bd624399e821ac4dc7d...

Powered by Google App Engine
This is Rietveld 408576698