diff options
author | Florin Malita <fmalita@chromium.org> | 2017-05-26 09:44:10 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-05-26 18:19:39 +0000 |
commit | 95c993cd7b8fac3a28bd9eeaa741bdc511511281 (patch) | |
tree | b8bfa6df6ee6e559ddc0f8501469f0a2cc883a27 | |
parent | 98b7a6a95529c2047bc94319c5276d26b7df7cb2 (diff) |
Unexport private SkShader classes
Alternative to https://skia-review.googlesource.com/c/18025/: these
subclasses are private, we shouldn't need to SK_API-tag them.
Change-Id: I94fc38e76ee4468132e41ab16f21ae6ad61fe1f2
Reviewed-on: https://skia-review.googlesource.com/18029
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Florin Malita <fmalita@chromium.org>
-rw-r--r-- | src/core/SkColorShader.h | 2 | ||||
-rw-r--r-- | src/core/SkComposeShader.h | 2 | ||||
-rw-r--r-- | src/core/SkEmptyShader.h | 2 | ||||
-rw-r--r-- | src/core/SkShaderBase.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/SkColorShader.h b/src/core/SkColorShader.h index 9af83c1163..929ab4326f 100644 --- a/src/core/SkColorShader.h +++ b/src/core/SkColorShader.h @@ -17,7 +17,7 @@ accomplished by just using the color field on the paint, but if an actual shader object is needed, this provides that feature. */ -class SK_API SkColorShader : public SkShaderBase { +class SkColorShader : public SkShaderBase { public: /** Create a ColorShader that ignores the color in the paint, and uses the specified color. Note: like all shaders, at draw time the paint's alpha diff --git a/src/core/SkComposeShader.h b/src/core/SkComposeShader.h index 8592f3a8ae..c7bb4b9eb8 100644 --- a/src/core/SkComposeShader.h +++ b/src/core/SkComposeShader.h @@ -19,7 +19,7 @@ class SkColorSpacXformer; This subclass of shader returns the composition of two other shaders, combined by a xfermode. */ -class SK_API SkComposeShader : public SkShaderBase { +class SkComposeShader : public SkShaderBase { public: /** Create a new compose shader, given shaders A, B, and a combining xfermode mode. When the xfermode is called, it will be given the result from shader A as its diff --git a/src/core/SkEmptyShader.h b/src/core/SkEmptyShader.h index c1bcfe0957..d7187c4edf 100644 --- a/src/core/SkEmptyShader.h +++ b/src/core/SkEmptyShader.h @@ -16,7 +16,7 @@ * \class SkEmptyShader * A Shader that always draws nothing. Its createContext always returns nullptr. */ -class SK_API SkEmptyShader : public SkShaderBase { +class SkEmptyShader : public SkShaderBase { public: SkEmptyShader() {} diff --git a/src/core/SkShaderBase.h b/src/core/SkShaderBase.h index a8d4f5f570..895fc6cf05 100644 --- a/src/core/SkShaderBase.h +++ b/src/core/SkShaderBase.h @@ -22,7 +22,7 @@ struct SkImageInfo; class SkPaint; class SkRasterPipeline; -class SK_API SkShaderBase : public SkShader { +class SkShaderBase : public SkShader { public: SkShaderBase(const SkMatrix* localMatrix = nullptr); |