diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-11 02:01:14 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-10-11 02:01:14 +0000 |
commit | fc84359aa920567e72742877a1249f52d076ad35 (patch) | |
tree | fac1e2583f388f9ff09f6592775f58e06958cae0 /src | |
parent | 9f25de79009ce721aa13abe71c38179d5a6710e2 (diff) |
Sanitizing source files in Skia_Periodic_House_Keeping
git-svn-id: http://skia.googlecode.com/svn/trunk@5892 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkDraw.cpp | 2 | ||||
-rw-r--r-- | src/core/SkImageFilter.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp index 17d29b6f1f..cdd59c1cdb 100644 --- a/src/core/SkDraw.cpp +++ b/src/core/SkDraw.cpp @@ -1541,7 +1541,7 @@ void SkDraw::drawText(const char text[], size_t byteLength, // SkScalarRec doesn't currently have a way of representing hairline stroke and // will fill if its frame-width is 0. if (/*paint.isLinearText() ||*/ - (fMatrix->hasPerspective()) || + (fMatrix->hasPerspective()) || (0 == paint.getStrokeWidth() && SkPaint::kStroke_Style == paint.getStyle())) { this->drawText_asPaths(text, byteLength, x, y, paint); return; diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp index 573d49d1ef..c688310111 100644 --- a/src/core/SkImageFilter.cpp +++ b/src/core/SkImageFilter.cpp @@ -40,7 +40,7 @@ SkImageFilter::~SkImageFilter() { delete[] fInputs; } -SkImageFilter::SkImageFilter(SkFlattenableReadBuffer& buffer) +SkImageFilter::SkImageFilter(SkFlattenableReadBuffer& buffer) : fNumInputs(buffer.readInt()), fInputs(new SkImageFilter*[fNumInputs]) { for (int i = 0; i < fNumInputs; i++) { if (buffer.readBool()) { |