aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar kkinnunen <kkinnunen@nvidia.com>2015-03-05 06:33:54 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-05 06:33:54 -0800
commita9baa652bb329b5a286e1638938f63433701efca (patch)
tree87c72a3ef72d9e5ba9024f44b9a788c0db3b23ca /include
parentfa77eb1e51b9317ff993d1be504ada173b561e5f (diff)
Revert of Add image as a draw type that can be filtered (patchset #4 id:60001 of https://codereview.chromium.org/960783003/)
Reason for revert: Fails on mac for some reason. Also is a bit wrong, but this should not be reason for the failure.. Original issue's description: > Add image as a draw type that can be filtered > > Add image as a draw type that can be filtered. > > This is needed when SkImage is added as an object to be drawn so that > the draw is forwarded to SkBaseDevice. This would be used in making > filters use SkImages. > > BUG=skia:3388 > > Committed: https://skia.googlesource.com/skia/+/fa77eb1e51b9317ff993d1be504ada173b561e5f TBR=reed@google.com,bsalomon@google.com NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia:3388 Review URL: https://codereview.chromium.org/980273002
Diffstat (limited to 'include')
-rw-r--r--include/core/SkDrawFilter.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/core/SkDrawFilter.h b/include/core/SkDrawFilter.h
index 26771beae5..52cbba9d20 100644
--- a/include/core/SkDrawFilter.h
+++ b/include/core/SkDrawFilter.h
@@ -35,11 +35,10 @@ public:
kOval_Type,
kPath_Type,
kText_Type,
- kImage_Type,
};
enum {
- kTypeCount = kImage_Type + 1
+ kTypeCount = kText_Type + 1
};
/**