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

Issue 2607603004: Remove PlatformCanvas::GetBitmapContext() (Closed)

Created:
3 years, 11 months ago by f(malita)
Modified:
3 years, 11 months ago
Reviewers:
danakj, reed1
CC:
chromium-reviews, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove PlatformCanvas::GetBitmapContext() This API is only used from ~CanvasSkiaPaint(), and is similar in behavior to ScopedPlatformPaint::GetNativeDrawingContext(). Refactor the only client to use the latter, get rid of the GetBitmapContext() virtual and platform_device_foo stubs. BUG=675977 R=reed@google.com TBR=danakj@chromium.org Committed: https://crrev.com/6b76da0d5e4f1e1aa75329a53a772de6e96b227b Cr-Commit-Position: refs/heads/master@{#441127}

Patch Set 1 #

Patch Set 2 : Android build fix #

Patch Set 3 : Mac build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -91 lines) Patch
M skia/BUILD.gn View 1 2 chunks +0 lines, -4 lines 0 comments Download
M skia/ext/bitmap_platform_device_mac.h View 2 chunks +3 lines, -4 lines 0 comments Download
M skia/ext/bitmap_platform_device_mac.cc View 1 1 chunk +3 lines, -2 lines 0 comments Download
M skia/ext/platform_canvas.h View 1 chunk +0 lines, -4 lines 0 comments Download
M skia/ext/platform_canvas.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M skia/ext/platform_device.h View 2 chunks +2 lines, -15 lines 0 comments Download
M skia/ext/platform_device.cc View 1 chunk +2 lines, -0 lines 0 comments Download
D skia/ext/platform_device_linux.cc View 1 chunk +0 lines, -15 lines 0 comments Download
D skia/ext/platform_device_mac.cc View 1 chunk +0 lines, -14 lines 0 comments Download
D skia/ext/platform_device_win.cc View 1 chunk +0 lines, -20 lines 0 comments Download
M ui/gfx/canvas_paint_mac.mm View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 25 (19 generated)
f(malita)
3 years, 11 months ago (2016-12-28 16:49:57 UTC) #14
reed1
lgtm
3 years, 11 months ago (2017-01-01 19:40:57 UTC) #15
f(malita)
TBR danakj@ for minor ui/gfx change.
3 years, 11 months ago (2017-01-03 14:23:18 UTC) #18
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/2607603004/40001
3 years, 11 months ago (2017-01-03 14:23:36 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
3 years, 11 months ago (2017-01-03 15:30:36 UTC) #23
commit-bot: I haz the power
3 years, 11 months ago (2017-01-03 15:34:56 UTC) #25
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6b76da0d5e4f1e1aa75329a53a772de6e96b227b
Cr-Commit-Position: refs/heads/master@{#441127}

Powered by Google App Engine
This is Rietveld 408576698