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

Issue 300973005: Shut up windows build errors on new GM (Closed)

Created:
6 years, 6 months ago by mtklein_C
Modified:
6 years, 6 months ago
Reviewers:
bungeman-skia, mtklein
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Shut up windows build errors on new GM BUG=skia: Committed: http://code.google.com/p/skia/source/detail?r=14941

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M gm/blurrect.cpp View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 7 (0 generated)
mtklein
lgtm
6 years, 6 months ago (2014-05-28 22:37:15 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/300973005/1
6 years, 6 months ago (2014-05-28 22:37:30 UTC) #2
commit-bot: I haz the power
Change committed as 14941
6 years, 6 months ago (2014-05-28 22:42:38 UTC) #3
bungeman-skia
I see what you did there. https://codereview.chromium.org/300973005/diff/1/gm/blurrect.cpp File gm/blurrect.cpp (right): https://codereview.chromium.org/300973005/diff/1/gm/blurrect.cpp#newcode206 gm/blurrect.cpp:206: canvas->translate((SkScalar)cur_x, (SkScalar)cur_y); You ...
6 years, 6 months ago (2014-05-28 22:43:56 UTC) #4
mtklein
https://codereview.chromium.org/300973005/diff/1/gm/blurrect.cpp File gm/blurrect.cpp (right): https://codereview.chromium.org/300973005/diff/1/gm/blurrect.cpp#newcode206 gm/blurrect.cpp:206: canvas->translate((SkScalar)cur_x, (SkScalar)cur_y); On 2014/05/28 22:43:56, bungeman1 wrote: > You ...
6 years, 6 months ago (2014-05-28 22:48:26 UTC) #5
bungeman-skia
On 2014/05/28 22:48:26, mtklein wrote: > https://codereview.chromium.org/300973005/diff/1/gm/blurrect.cpp > File gm/blurrect.cpp (right): > > https://codereview.chromium.org/300973005/diff/1/gm/blurrect.cpp#newcode206 > ...
6 years, 6 months ago (2014-05-28 22:55:52 UTC) #6
mtklein
6 years, 6 months ago (2014-05-28 22:59:55 UTC) #7
Message was sent while issue was closed.
> I think it's more that I don't like the bare c style cast and
SkIntToScaler(...)
> is nicer looking, has more meaning, and is shorter than
> static_cast<Scaler>(...). Maybe it's just that I'm used to the style from
habit
> as well.

Hmm.  If only we had a universal do-what-I-mean convert to SkScalar function. 
We could even just call it SkScalar, so you just write SkScalar(foo).  That'd be
nice.

Powered by Google App Engine
This is Rietveld 408576698