aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-10 16:03:06 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-04-10 16:03:06 +0000
commit7f43493ae68e9d14e8a4134f2e394c9c995fb8ef (patch)
treeae9d1e5796a157f0e0ae0dace641b616eb301385 /src/effects
parent24c568c1597de9f54df8cea3b46f2e93028a5aec (diff)
Fix GPU-less build.
Do not include GrTBackendEffectFactory.h if SK_SUPPORT_GPU is undefined. R=egdaniel@google.com TBR=egdaniel@google.com NOTREECHECKS=true NOTRY=true Author: scroggo@google.com Review URL: https://codereview.chromium.org/233093003 git-svn-id: http://skia.googlecode.com/svn/trunk@14134 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp b/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp
index 22b33e8242..d7b0384017 100644
--- a/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp
+++ b/src/effects/gradients/SkTwoPointConicalGradient_gpu.cpp
@@ -6,11 +6,11 @@
*/
#include "SkTwoPointConicalGradient_gpu.h"
-#include "GrTBackendEffectFactory.h"
#include "SkTwoPointConicalGradient.h"
#if SK_SUPPORT_GPU
+#include "GrTBackendEffectFactory.h"
// For brevity
typedef GrGLUniformManager::UniformHandle UniformHandle;