Chromium Code Reviews| Index: include/core/SkMaskFilter.h |
| diff --git a/include/core/SkMaskFilter.h b/include/core/SkMaskFilter.h |
| index 1fe1d9adafc29a731ff12db139a28cb03749afe0..b217643b9e790b888efe38a89d39cea53758eec8 100644 |
| --- a/include/core/SkMaskFilter.h |
| +++ b/include/core/SkMaskFilter.h |
| @@ -15,6 +15,10 @@ |
| #include "SkMask.h" |
| #include "SkPaint.h" |
| +#if SK_SUPPORT_GPU |
| +#include "GrTextureProvider.h" |
| +#endif |
| + |
| class GrClip; |
| class GrDrawContext; |
| class GrPaint; |
| @@ -142,7 +146,8 @@ public: |
| const SkMatrix& ctm, |
| const SkRect& maskRect, |
| GrTexture** result, |
| - bool canOverwriteSrc) const; |
| + bool canOverwriteSrc, |
|
robertphillips
2015/10/21 15:29:41
How is this going to compile w/o GPU?
reed1
2015/10/21 17:05:51
It is declared inside SK_SUPPORT_GPU
|
| + GrTextureProvider::SizeConstraint) const; |
| #endif |
| /** |