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

Issue 7273013: Stop using deprecated factory API for SkDevice (Closed)

Created:
9 years, 6 months ago by reed1
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Paweł Hajdan Jr.
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 10

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Total comments: 1

Patch Set 9 : '' #

Patch Set 10 : '' #

Total comments: 6

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : Stop using deprecated factory api #

Patch Set 14 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -180 lines) Patch
M printing/emf_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +3 lines, -3 lines 0 comments Download
M printing/pdf_metafile_cairo_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -1 line 0 comments Download
M skia/ext/bitmap_platform_device_linux.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -9 lines 0 comments Download
M skia/ext/bitmap_platform_device_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -11 lines 0 comments Download
M skia/ext/bitmap_platform_device_mac.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -10 lines 0 comments Download
M skia/ext/bitmap_platform_device_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -11 lines 0 comments Download
M skia/ext/bitmap_platform_device_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -9 lines 0 comments Download
M skia/ext/bitmap_platform_device_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +5 lines, -11 lines 0 comments Download
M skia/ext/platform_canvas.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -1 line 0 comments Download
M skia/ext/platform_canvas.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -6 lines 0 comments Download
M skia/ext/platform_canvas_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +0 lines, -2 lines 0 comments Download
M skia/ext/platform_canvas_mac.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +0 lines, -3 lines 0 comments Download
M skia/ext/platform_canvas_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +0 lines, -2 lines 0 comments Download
M skia/ext/vector_canvas.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -2 lines 0 comments Download
M skia/ext/vector_canvas_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +2 lines, -2 lines 0 comments Download
M skia/ext/vector_platform_device_cairo_linux.h View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +5 lines, -16 lines 0 comments Download
M skia/ext/vector_platform_device_cairo_linux.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +11 lines, -29 lines 0 comments Download
M skia/ext/vector_platform_device_emf_win.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +7 lines, -11 lines 0 comments Download
M skia/ext/vector_platform_device_emf_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 3 chunks +10 lines, -15 lines 0 comments Download
M skia/ext/vector_platform_device_skia.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +3 lines, -11 lines 0 comments Download
M skia/ext/vector_platform_device_skia.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +7 lines, -15 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
reed1
There is a related (but not dependent) change in PlatformContextSkia.cpp for webkit.
9 years, 6 months ago (2011-06-27 21:56:29 UTC) #1
vandebo (ex-Chrome)
There's also skia/ext/vector_platform_device_*
9 years, 6 months ago (2011-06-27 22:03:19 UTC) #2
alokp
http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.cc File skia/ext/bitmap_platform_device_linux.cc (right): http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.cc#newcode132 skia/ext/bitmap_platform_device_linux.cc:132: SkASSERT(config == SkBitmap::kARGB_8888_Config); nit: I think we should use ...
9 years, 5 months ago (2011-06-28 16:19:46 UTC) #3
vandebo (ex-Chrome)
http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.cc File skia/ext/bitmap_platform_device_linux.cc (right): http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.cc#newcode131 skia/ext/bitmap_platform_device_linux.cc:131: SkBitmap::Config config, int width, int height, bool isOpaque, Usage) ...
9 years, 5 months ago (2011-06-28 19:07:54 UTC) #4
reed1
I think the win_layout failures are unrelated. I tried to address your comments (except that ...
9 years, 5 months ago (2011-06-30 18:55:37 UTC) #5
alokp
lgtm
9 years, 5 months ago (2011-06-30 20:00:54 UTC) #6
reed1
On 2011/06/28 19:07:54, vandebo wrote: > http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.cc > File skia/ext/bitmap_platform_device_linux.cc (right): > > http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.cc#newcode131 > ...
9 years, 5 months ago (2011-06-30 21:34:05 UTC) #7
vandebo (ex-Chrome)
http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.h File skia/ext/bitmap_platform_device_linux.h (right): http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.h#newcode90 skia/ext/bitmap_platform_device_linux.h:90: int height, bool isOpaque, Usage); > On 2011/06/28 19:07:54, ...
9 years, 5 months ago (2011-06-30 21:58:36 UTC) #8
reed1
On 2011/06/30 21:58:36, vandebo wrote: > http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.h > File skia/ext/bitmap_platform_device_linux.h (right): > > http://codereview.chromium.org/7273013/diff/3005/skia/ext/bitmap_platform_device_linux.h#newcode90 > ...
9 years, 5 months ago (2011-07-01 12:22:11 UTC) #9
reed1
new patch, rebaslining and with vandebo's latest comments about parameter names.
9 years, 5 months ago (2011-07-01 12:22:45 UTC) #10
reed1
I think the win_layout and mac results are not related to this CL
9 years, 5 months ago (2011-07-01 15:11:06 UTC) #11
vandebo (ex-Chrome)
9 years, 5 months ago (2011-07-01 17:20:14 UTC) #12
Please address nits, then LGTM.  No further review needed from me.

http://codereview.chromium.org/7273013/diff/21016/skia/ext/bitmap_platform_de...
File skia/ext/bitmap_platform_device_mac.cc (right):

http://codereview.chromium.org/7273013/diff/21016/skia/ext/bitmap_platform_de...
skia/ext/bitmap_platform_device_mac.cc:238: SkBitmap::Config config, int width,
int height, bool isOpaque, Usage) {
nit: missing /*usage*/

http://codereview.chromium.org/7273013/diff/21016/skia/ext/bitmap_platform_de...
File skia/ext/bitmap_platform_device_mac.h (right):

http://codereview.chromium.org/7273013/diff/21016/skia/ext/bitmap_platform_de...
skia/ext/bitmap_platform_device_mac.h:66: virtual SkDevice*
onCreateCompatibleDevice(SkBitmap::Config,  int width,
nit: extra space.

http://codereview.chromium.org/7273013/diff/21016/skia/ext/bitmap_platform_de...
File skia/ext/bitmap_platform_device_win.cc (right):

http://codereview.chromium.org/7273013/diff/21016/skia/ext/bitmap_platform_de...
skia/ext/bitmap_platform_device_win.cc:258: SkBitmap::Config config, int width,
int height, bool isOpaque, Usage) {
nit: missing /*usage*/

http://codereview.chromium.org/7273013/diff/21016/skia/ext/bitmap_platform_de...
File skia/ext/bitmap_platform_device_win.h (right):

http://codereview.chromium.org/7273013/diff/21016/skia/ext/bitmap_platform_de...
skia/ext/bitmap_platform_device_win.h:71: virtual SkDevice*
onCreateCompatibleDevice(SkBitmap::Config,  int width,
nit: extra space.

http://codereview.chromium.org/7273013/diff/21016/skia/ext/vector_platform_de...
File skia/ext/vector_platform_device_emf_win.cc (right):

http://codereview.chromium.org/7273013/diff/21016/skia/ext/vector_platform_de...
skia/ext/vector_platform_device_emf_win.cc:442: SkBitmap::Config config,
nit: arg doesn't fit, so it should be indented 4 space.

http://codereview.chromium.org/7273013/diff/21016/skia/ext/vector_platform_de...
File skia/ext/vector_platform_device_skia.cc (right):

http://codereview.chromium.org/7273013/diff/21016/skia/ext/vector_platform_de...
skia/ext/vector_platform_device_skia.cc:215: SkBitmap::Config config, int width,
int height,
nit: indent is wrong.

Powered by Google App Engine
This is Rietveld 408576698