Index: src/core/SkColor.cpp |
diff --git a/src/core/SkColor.cpp b/src/core/SkColor.cpp |
index d88950b5b04fc6d7d02c9b5881ecb2bdc7a17303..497c328162acd170147df5b769001a557b9d5fbe 100644 |
--- a/src/core/SkColor.cpp |
+++ b/src/core/SkColor.cpp |
@@ -168,7 +168,7 @@ SkColor4f SkColor4f::Pin(float a, float r, float g, float b) { |
SkPM4f SkColor4f::premul() const { |
auto src = Sk4f::Load(this->pin().vec()); |
- float srcAlpha = src.kth<0>(); // need the pinned version of our alpha |
+ float srcAlpha = src[0]; // need the pinned version of our alpha |
src = src * Sk4f(1, srcAlpha, srcAlpha, srcAlpha); |
#ifdef SK_PMCOLOR_IS_BGRA |