aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkColor.h
diff options
context:
space:
mode:
authorGravatar reed <reed@chromium.org>2016-01-23 19:37:56 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-01-23 19:37:56 -0800
commit7f225cf32e63e565b5ba584241672f58b48a9acb (patch)
tree223f6e8cb03805cd61023cb49c852fd54d9fe264 /include/core/SkColor.h
parent5f34e8ed82e6cbf29401bda5d423a50a2ab6db74 (diff)
Revert[2] of expand unitests for color4f
Diffstat (limited to 'include/core/SkColor.h')
-rw-r--r--include/core/SkColor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkColor.h b/include/core/SkColor.h
index f18fb7ee5e..3ebd18b7aa 100644
--- a/include/core/SkColor.h
+++ b/include/core/SkColor.h
@@ -169,6 +169,8 @@ struct SkPM4f {
float fVec[4];
float a() const { return fVec[SK_A32_SHIFT/8]; }
+
+ static SkPM4f FromPMColor(SkPMColor);
};
/*