aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-11-24 05:35:58 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-24 05:35:58 -0800
commitb68ce74bd197a9ca4becd53cbcfee825b8d08e0e (patch)
treed7b723fe7fc5e92dbb34f635f6d0239f6f429140 /src
parentd14c39eff209f6eacd322af95a69534fc207cf27 (diff)
Add SK_BEGIN_REQUIRE_DENSE / SK_END_REQUIRE_DENSE.
Use in on a few examples of things we hash. BUG=skia: Review URL: https://codereview.chromium.org/1468483002
Diffstat (limited to 'src')
-rw-r--r--src/core/SkGlyph.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkGlyph.h b/src/core/SkGlyph.h
index c747995ed0..92f974bc2c 100644
--- a/src/core/SkGlyph.h
+++ b/src/core/SkGlyph.h
@@ -22,6 +22,7 @@ class SkGlyphCache;
#define kMaxGlyphWidth (1<<13)
+SK_BEGIN_REQUIRE_DENSE
class SkGlyph {
enum {
kSubBits = 2,
@@ -182,5 +183,6 @@ class SkGlyph {
#endif
uint32_t fID;
};
+SK_END_REQUIRE_DENSE
#endif