diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-01 03:02:09 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-03-01 03:02:09 +0000 |
commit | 370a89980b2d38a6d01903b484bf404d6c48b496 (patch) | |
tree | 2a428264e58922f13023ae682becb4cb83702ba0 /src | |
parent | f4c06531dc325ddffcbf5b35813fd7d60fe389ef (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@13634 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkCanvas.cpp | 2 | ||||
-rw-r--r-- | src/utils/debugger/SkDebugCanvas.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/core/SkCanvas.cpp b/src/core/SkCanvas.cpp index 96d16fcdb9..dfc3f93789 100644 --- a/src/core/SkCanvas.cpp +++ b/src/core/SkCanvas.cpp @@ -1418,7 +1418,7 @@ bool SkCanvas::updateClipConservativelyUsingBounds(const SkRect& bounds, SkRegio this->SkCanvas::save(SkCanvas::kMatrix_SaveFlag); // set the clip in device space this->SkCanvas::setMatrix(SkMatrix::I()); - this->SkCanvas::onClipRect(deviceBounds, SkRegion::kReplace_Op, + this->SkCanvas::onClipRect(deviceBounds, SkRegion::kReplace_Op, kHard_ClipEdgeStyle); this->SkCanvas::restore(); //pop the matrix, but keep the clip break; diff --git a/src/utils/debugger/SkDebugCanvas.h b/src/utils/debugger/SkDebugCanvas.h index ebce6c9131..edf7a2295d 100644 --- a/src/utils/debugger/SkDebugCanvas.h +++ b/src/utils/debugger/SkDebugCanvas.h @@ -224,13 +224,13 @@ public: static const int kVizImageWidth = 256; virtual bool isClipEmpty() const SK_OVERRIDE { return false; } - virtual ClipType getClipType() const SK_OVERRIDE { - return kRect_ClipType; + virtual ClipType getClipType() const SK_OVERRIDE { + return kRect_ClipType; } virtual bool getClipBounds(SkRect* bounds) const SK_OVERRIDE { if (NULL != bounds) { - bounds->setXYWH(0, 0, - SkIntToScalar(this->imageInfo().fWidth), + bounds->setXYWH(0, 0, + SkIntToScalar(this->imageInfo().fWidth), SkIntToScalar(this->imageInfo().fHeight)); } return true; |