Index: src/opts/Sk4px_none.h |
diff --git a/src/opts/Sk4px_none.h b/src/opts/Sk4px_none.h |
index 541443d772a4b84e4626da457f472fca4097daa5..d3ead31491fe3691aec36182d6e7bd09cfb54b30 100644 |
--- a/src/opts/Sk4px_none.h |
+++ b/src/opts/Sk4px_none.h |
@@ -7,6 +7,8 @@ |
#include "SkUtils.h" |
+namespace { // See Sk4px.h |
+ |
static_assert(sizeof(Sk4px) == 16, "This file uses memcpy / sk_memset32, so exact size matters."); |
inline Sk4px::Sk4px(SkPMColor px) { |
@@ -94,3 +96,4 @@ inline Sk4px Sk4px::zeroColors() const { |
0,0,0, this->kth<15>()); |
} |
+} // namespace |