Add SK_API to GrTexture.

Sadly, we still expose this Chrome.

Bug: chromium:911856
Change-Id: Ib266eb1a338db621385cd75dbba6e709dd01587c
Reviewed-on: https://skia-review.googlesource.com/c/175999
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
This commit is contained in:
Brian Salomon 2018-12-10 13:59:52 -05:00 committed by Skia Commit-Bot
parent dbfd7664f2
commit 3ccaa88c50

View File

@ -19,7 +19,7 @@
class GrTexturePriv;
class GrTexture : virtual public GrSurface {
class SK_API GrTexture : virtual public GrSurface {
public:
GrTexture* asTexture() override { return this; }
const GrTexture* asTexture() const override { return this; }