Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(94)

Issue 5514043: Allow 0 as a valid text size in SkPaint. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by DerekS
Modified:
12 years, 8 months ago
Reviewers:
reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Allow 0 as a valid text size in SkPaint. Committed: http://code.google.com/p/skia/source/detail?r=2961

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M src/core/SkPaint.cpp View 2 chunks +8 lines, -1 line 1 comment Download

Messages

Total messages: 2
DerekS
12 years, 8 months ago (2012-01-04 17:45:49 UTC) #1
reed1
12 years, 8 months ago (2012-01-04 17:54:18 UTC) #2
lgtm

http://codereview.appspot.com/5514043/diff/1/src/core/SkPaint.cpp
File src/core/SkPaint.cpp (right):

http://codereview.appspot.com/5514043/diff/1/src/core/SkPaint.cpp#newcode982
src/core/SkPaint.cpp:982: 
nit: we should try to not put an lvalue on the left of the compare.

if (0 == fTextSize) ...
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b