diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-15 14:36:41 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-15 14:36:41 +0000 |
commit | 5d8d18651a64f62dbb8881794e23f53bf22c9a23 (patch) | |
tree | f1de838dc1288635ea2cfb08ba01d808fd95a5f0 /src/core | |
parent | 5bdef29ae0f5a495381cd2c9787ce7c112e58354 (diff) |
Addressed Windows compiler complaints
http://codereview.appspot.com/6462062/
This CL will require re-baselining of the imagemagnifier GM
git-svn-id: http://skia.googlecode.com/svn/trunk@5108 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkPath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp index a9937ab9a0..4be1c986fe 100644 --- a/src/core/SkPath.cpp +++ b/src/core/SkPath.cpp @@ -1816,7 +1816,7 @@ void SkPath::validate() const { SkRect bounds; bool isFinite = compute_pt_bounds(&bounds, fPts); - SkASSERT(fIsFinite == isFinite); + SkASSERT(SkToBool(fIsFinite) == isFinite); if (fPts.count() <= 1) { // if we're empty, fBounds may be empty but translated, so we can't |