Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(385)

Unified Diff: include/core/SkMath.h

Issue 270473003: Make gMask_00FF00FF a constant (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkColorPriv.h ('k') | src/core/SkBitmapProcState_filter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkMath.h
diff --git a/include/core/SkMath.h b/include/core/SkMath.h
index fe968fd1793aa782bcca99e4b24f2e19237aaef0..cc274612901fc9ffdfd043d46834b4378fb48797 100644
--- a/include/core/SkMath.h
+++ b/include/core/SkMath.h
@@ -12,6 +12,12 @@
#include "SkTypes.h"
+///////////////////////////////////////////////////////////////////////////////
+
+enum { kMask_00FF00FF = 0xFF00FF };
reed1 2014/05/12 14:48:07 I think we should just use 0xFF00FF where the site
pasko 2014/05/12 15:06:19 I agree. Done. Also removed one commented-out left
+
+///////////////////////////////////////////////////////////////////////////////
+
// 64bit -> 32bit utilities
/**
« no previous file with comments | « include/core/SkColorPriv.h ('k') | src/core/SkBitmapProcState_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698