Index: src/core/SkPMFloat.h |
diff --git a/src/core/SkPMFloat.h b/src/core/SkPMFloat.h |
index 1fc80f50044adc756543d944531db03c695a296c..4a5621f5b3cc62cf6ae11b5173d8f449fcce10ef 100644 |
--- a/src/core/SkPMFloat.h |
+++ b/src/core/SkPMFloat.h |
@@ -26,7 +26,7 @@ class SkPMFloat : public Sk4f { |
public: |
static SkPMFloat FromPMColor(SkPMColor c) { return SkPMFloat(c); } |
static SkPMFloat FromARGB(float a, float r, float g, float b) { return SkPMFloat(a,r,g,b); } |
- static SkPMFloat FromBGRx(SkColor c); // Ignores c's alpha, instead forcing it to 1. |
+ static SkPMFloat FromOpaqueColor(SkColor c); // Requires c's alpha == 0xFF. |
Sk4f alphas() const; // argb -> aaaa, generally faster than the equivalent Sk4f(this->a()). |