Index: include/core/SkColor.h |
diff --git a/include/core/SkColor.h b/include/core/SkColor.h |
index e473db486ae50ee6a9aee3a2bc1794d023cf1939..8f2776da61b16075e0d7c33e7062a7f2c5f618c1 100644 |
--- a/include/core/SkColor.h |
+++ b/include/core/SkColor.h |
@@ -9,6 +9,7 @@ |
#define SkColor_DEFINED |
#include "SkScalar.h" |
+#include "SkPoint3.h" |
#include "SkTypes.h" |
/** \file SkColor.h |
@@ -183,6 +184,7 @@ struct SkColor4f { |
static SkColor4f Pin(float r, float g, float b, float a); |
static SkColor4f FromColor(SkColor); |
+ static SkColor4f FromColor3f(SkColor3f, float a); |
SkColor toSkColor() const; |