aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar jbroman <jbroman@chromium.org>2016-03-21 08:28:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-03-21 08:28:48 -0700
commit127fe3e24b488b7cf67308e791847ee229012862 (patch)
tree7a0d1133c8fdbb5a8aac77f15ab145100fe14d69 /include
parent0e6274f54084d816abd70d445dded8657eb01abd (diff)
Correct comment to refer to SkImageFilter::kReverse_MapDirection.
kBackward_MapDirection does not exist; might as well have the comment exactly match the valid enumerator. TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1820883002 Review URL: https://codereview.chromium.org/1820883002
Diffstat (limited to 'include')
-rw-r--r--include/core/SkImageFilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index 93f3e3cc0b..f9090beebc 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -160,7 +160,7 @@ public:
* Map a device-space rect recursively forward or backward through the
* filter DAG. kForward_MapDirection is used to determine which pixels of
* the destination canvas a source image rect would touch after filtering.
- * kBackward_MapDirection is used to determine which rect of the source
+ * kReverse_MapDirection is used to determine which rect of the source
* image would be required to fill the given rect (typically, clip bounds).
* Used for clipping and temp-buffer allocations, so the result need not
* be exact, but should never be smaller than the real answer. The default