aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/pathops/SkPathOpsBounds.h
diff options
context:
space:
mode:
authorGravatar caryclark <caryclark@google.com>2014-08-25 06:53:04 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-08-25 06:53:04 -0700
commit2e40381060794745562c4a26896970406114b07a (patch)
tree00b3ddca672fa16e35eee88e67157ce266dfc4b6 /src/pathops/SkPathOpsBounds.h
parent3053dfaefd12abd220d961e7e4c661e6eb8ba90e (diff)
add const to arrays of member functions
running 'size ./out/Release/libskia_core.a' revealed a couple of places where path ops chose poorly and declared arrays of member functions to be unnecessarily writable. R=reed@android.com TBR=reed Author: caryclark@google.com Review URL: https://codereview.chromium.org/461363003
Diffstat (limited to 'src/pathops/SkPathOpsBounds.h')
-rw-r--r--src/pathops/SkPathOpsBounds.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pathops/SkPathOpsBounds.h b/src/pathops/SkPathOpsBounds.h
index 07ad5d4ba9..cabc639225 100644
--- a/src/pathops/SkPathOpsBounds.h
+++ b/src/pathops/SkPathOpsBounds.h
@@ -67,6 +67,6 @@ struct SkPathOpsBounds : public SkRect {
typedef SkRect INHERITED;
};
-extern void (SkPathOpsBounds::*SetCurveBounds[])(const SkPoint[]);
+extern void (SkPathOpsBounds::* const SetCurveBounds[])(const SkPoint[]);
#endif