diff options
author | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-13 03:06:05 +0000 |
---|---|---|
committer | skia.committer@gmail.com <skia.committer@gmail.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-05-13 03:06:05 +0000 |
commit | e92c68f7d7398e8a510b7157a38747b23cb883ae (patch) | |
tree | c3d004c83f11ad0574b4c810749e7241789697ec /src/core | |
parent | b3c836b7871889a930e2e6b189dd6b508b8b9b14 (diff) |
Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@14705 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/SkLocalMatrixShader.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/core/SkLocalMatrixShader.h b/src/core/SkLocalMatrixShader.h index 95e6237e59..1adfb0a730 100644 --- a/src/core/SkLocalMatrixShader.h +++ b/src/core/SkLocalMatrixShader.h @@ -18,20 +18,20 @@ public: : fProxyShader(SkRef(proxy)) , fProxyLocalMatrix(localMatrix) {} - + virtual size_t contextSize() const SK_OVERRIDE { return fProxyShader->contextSize(); } - + virtual BitmapType asABitmap(SkBitmap* bitmap, SkMatrix* matrix, TileMode* mode) const SK_OVERRIDE { return fProxyShader->asABitmap(bitmap, matrix, mode); } - + virtual GradientType asAGradient(GradientInfo* info) const SK_OVERRIDE { return fProxyShader->asAGradient(info); } - + virtual GrEffectRef* asNewEffect(GrContext* ctx, const SkPaint& paint, const SkMatrix* localMatrix) const SK_OVERRIDE { SkMatrix tmp = fProxyLocalMatrix; @@ -40,26 +40,26 @@ public: } return fProxyShader->asNewEffect(ctx, paint, &tmp); } - + virtual SkShader* refAsALocalMatrixShader(SkMatrix* localMatrix) const SK_OVERRIDE { if (localMatrix) { *localMatrix = fProxyLocalMatrix; } return SkRef(fProxyShader.get()); } - + SK_TO_STRING_OVERRIDE() SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLocalMatrixShader) - + protected: SkLocalMatrixShader(SkReadBuffer&); virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; virtual Context* onCreateContext(const ContextRec&, void*) const SK_OVERRIDE; - + private: SkAutoTUnref<SkShader> fProxyShader; SkMatrix fProxyLocalMatrix; - + typedef SkShader INHERITED; }; |