aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/SkDraw.cpp2
-rw-r--r--src/core/SkImageFilter.cpp2
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()) {