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

Issue 10387022: A better fix for scaling issue. (Closed)

Created:
8 years, 7 months ago by gene
Modified:
8 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

A better fix for scaling issue. Instead of using TLS and static function, pass scaling in the skia dictionary. BUG=125499 TEST=Make sure printing is working. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=136055

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -108 lines) Patch
M chrome/renderer/print_web_view_helper_win.cc View 1 2 3 chunks +12 lines, -34 lines 0 comments Download
D printing/custom_scaling.h View 1 chunk +0 lines, -33 lines 0 comments Download
D printing/custom_scaling.cc View 1 chunk +0 lines, -37 lines 0 comments Download
M printing/metafile_skia_wrapper.h View 1 chunk +4 lines, -0 lines 0 comments Download
M printing/metafile_skia_wrapper.cc View 2 chunks +20 lines, -0 lines 0 comments Download
M printing/printing.gyp View 1 chunk +0 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
gene
8 years, 7 months ago (2012-05-08 17:56:20 UTC) #1
Albert Bodenhamer
LGTM Nice cleanup. I like this solution MUCH better.
8 years, 7 months ago (2012-05-08 18:20:42 UTC) #2
gene
Adding brettw for PPAPI
8 years, 7 months ago (2012-05-08 18:22:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gene@chromium.org/10387022/1
8 years, 7 months ago (2012-05-08 18:22:53 UTC) #4
commit-bot: I haz the power
Presubmit check for 10387022-1 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 7 months ago (2012-05-08 18:23:00 UTC) #5
vandebo (ex-Chrome)
LGTM with nits. https://chromiumcodereview.appspot.com/10387022/diff/1/chrome/renderer/print_web_view_helper_win.cc File chrome/renderer/print_web_view_helper_win.cc (left): https://chromiumcodereview.appspot.com/10387022/diff/1/chrome/renderer/print_web_view_helper_win.cc#oldcode127 chrome/renderer/print_web_view_helper_win.cc:127: // TODO(gene): We should revisit this ...
8 years, 7 months ago (2012-05-08 18:25:01 UTC) #6
brettw
ppapi lgtm rubberstamp
8 years, 7 months ago (2012-05-08 18:34:40 UTC) #7
gene
https://chromiumcodereview.appspot.com/10387022/diff/1/chrome/renderer/print_web_view_helper_win.cc File chrome/renderer/print_web_view_helper_win.cc (left): https://chromiumcodereview.appspot.com/10387022/diff/1/chrome/renderer/print_web_view_helper_win.cc#oldcode127 chrome/renderer/print_web_view_helper_win.cc:127: // TODO(gene): We should revisit this solution for the ...
8 years, 7 months ago (2012-05-08 18:34:52 UTC) #8
vandebo (ex-Chrome)
https://chromiumcodereview.appspot.com/10387022/diff/8002/chrome/renderer/print_web_view_helper_win.cc File chrome/renderer/print_web_view_helper_win.cc (right): https://chromiumcodereview.appspot.com/10387022/diff/8002/chrome/renderer/print_web_view_helper_win.cc#newcode265 chrome/renderer/print_web_view_helper_win.cc:265: *canvas, actual_shrink)) { nit: this should be four spaces ...
8 years, 7 months ago (2012-05-08 18:46:20 UTC) #9
gene
https://chromiumcodereview.appspot.com/10387022/diff/8002/chrome/renderer/print_web_view_helper_win.cc File chrome/renderer/print_web_view_helper_win.cc (right): https://chromiumcodereview.appspot.com/10387022/diff/8002/chrome/renderer/print_web_view_helper_win.cc#newcode265 chrome/renderer/print_web_view_helper_win.cc:265: *canvas, actual_shrink)) { On 2012/05/08 18:46:20, vandebo wrote: > ...
8 years, 7 months ago (2012-05-08 18:48:02 UTC) #10
vandebo (ex-Chrome)
LGTM
8 years, 7 months ago (2012-05-08 18:48:54 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gene@chromium.org/10387022/5003
8 years, 7 months ago (2012-05-08 18:52:26 UTC) #12
commit-bot: I haz the power
Try job failure for 10387022-5003 (retry) (retry) (retry) on win_rel for step "update" (clobber build). ...
8 years, 7 months ago (2012-05-08 23:43:53 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gene@chromium.org/10387022/5003
8 years, 7 months ago (2012-05-09 00:04:46 UTC) #14
commit-bot: I haz the power
Try job failure for 10387022-5003 (previous was lost) (retry) on win_rel for step "browser_tests". It's ...
8 years, 7 months ago (2012-05-09 03:51:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gene@chromium.org/10387022/5003
8 years, 7 months ago (2012-05-09 04:21:10 UTC) #16
commit-bot: I haz the power
Try job failure for 10387022-5003 on win_rel for step "update". http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=27388 Step "update" is always ...
8 years, 7 months ago (2012-05-09 04:30:15 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gene@chromium.org/10387022/5003
8 years, 7 months ago (2012-05-09 04:49:24 UTC) #18
commit-bot: I haz the power
Try job failure for 10387022-5003 (retry) on win_rel for step "browser_tests". It's a second try, ...
8 years, 7 months ago (2012-05-09 07:32:51 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/gene@chromium.org/10387022/5003
8 years, 7 months ago (2012-05-09 15:32:07 UTC) #20
commit-bot: I haz the power
8 years, 7 months ago (2012-05-09 17:22:23 UTC) #21
Change committed as 136055

Powered by Google App Engine
This is Rietveld 408576698