Index: Source/core/svg/ColorDistance.h |
diff --git a/Source/core/svg/ColorDistance.h b/Source/core/svg/ColorDistance.h |
index 470effb7598e78833267dbcf63478987e25d34a9..0eddc28daa2bf9c8b001d5ab45668781a51418f4 100644 |
--- a/Source/core/svg/ColorDistance.h |
+++ b/Source/core/svg/ColorDistance.h |
@@ -26,20 +26,10 @@ class Color; |
class ColorDistance { |
public: |
- ColorDistance(); |
- ColorDistance(const Color& fromColor, const Color& toColor); |
- ColorDistance(int redDiff, int blueDiff, int greenDiff); |
- |
static Color addColors(const Color&, const Color&); |
- static Color clampColor(int red, int green, int blue, int alpha); |
- |
- float distance() const; |
- |
-private: |
- int m_redDiff; |
- int m_greenDiff; |
- int m_blueDiff; |
+ static float distance(const Color& fromColor, const Color& toColor); |
}; |
+ |
} |
#endif // ColorDistance_h |