Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@12358 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
e0a868c84e
commit
f61ebc0927
@ -1350,7 +1350,7 @@ SkProcCoeffXfermode::SkProcCoeffXfermode(SkFlattenableReadBuffer& buffer) : INHE
|
||||
mode32 = SkXfermode::kSrcOut_Mode;
|
||||
}
|
||||
fMode = (SkXfermode::Mode)mode32;
|
||||
|
||||
|
||||
const ProcCoeff& rec = gProcCoeffs[fMode];
|
||||
// these may be valid, or may be CANNOT_USE_COEFF
|
||||
fSrcCoeff = rec.fSC;
|
||||
|
@ -109,7 +109,7 @@ bool SkOpAngle::operator<(const SkOpAngle& rh) const { // this/lh: left-hand; r
|
||||
// see if either curve can be lengthened before trying the tangent
|
||||
if (fSegment->other(fEnd) != rh.fSegment // tangents not absolutely identical
|
||||
&& rh.fSegment->other(rh.fEnd) != fSegment
|
||||
&& y != -DBL_EPSILON
|
||||
&& y != -DBL_EPSILON
|
||||
&& ry != -DBL_EPSILON) { // and not intersecting
|
||||
SkOpAngle longer = *this;
|
||||
SkOpAngle rhLonger = rh;
|
||||
|
@ -335,8 +335,8 @@ SkString* SkObjectParser::TextToString(const void* text, size_t byteLength,
|
||||
}
|
||||
case SkPaint::kUTF16_TextEncoding: {
|
||||
decodedText->append("UTF-16: ");
|
||||
size_t sizeNeeded = SkUTF16_ToUTF8((uint16_t*)text,
|
||||
SkToS32(byteLength / 2),
|
||||
size_t sizeNeeded = SkUTF16_ToUTF8((uint16_t*)text,
|
||||
SkToS32(byteLength / 2),
|
||||
NULL);
|
||||
SkAutoSTMalloc<0x100, char> utf8(sizeNeeded);
|
||||
SkUTF16_ToUTF8((uint16_t*)text, SkToS32(byteLength / 2), utf8);
|
||||
|
Loading…
Reference in New Issue
Block a user