Index: src/opts/SkPMFloat_none.h |
diff --git a/src/opts/SkPMFloat_none.h b/src/opts/SkPMFloat_none.h |
index ba773564d6de9cf89d84c5f80856ec7a5c021d60..518ad159ff833526bc12cb3fafb66128442a8ef1 100644 |
--- a/src/opts/SkPMFloat_none.h |
+++ b/src/opts/SkPMFloat_none.h |
@@ -30,4 +30,8 @@ inline SkPMColor SkPMFloat::round() const { |
return c; |
} |
+inline Sk4f SkPMFloat::alphas() const { |
+ return Sk4f(this->a()); |
+} |
+ |
} // namespace |