Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(547)

Unified Diff: sky/engine/platform/graphics/Color.h

Issue 756183004: Get rid of background-clip:text and PaintBehaviorForceBlackText. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Remove forceBlackText Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyleConstants.h ('k') | sky/engine/platform/graphics/Color.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/graphics/Color.h
diff --git a/sky/engine/platform/graphics/Color.h b/sky/engine/platform/graphics/Color.h
index 9fdffac7fef8c4d5dbef8b8ca482b37b5c0a5d96..8145ad9bc332fb1edf7784198f1d21e41b2f781a 100644
--- a/sky/engine/platform/graphics/Color.h
+++ b/sky/engine/platform/graphics/Color.h
@@ -45,8 +45,6 @@ PLATFORM_EXPORT RGBA32 makeRGBA32FromFloats(float r, float g, float b, float a);
PLATFORM_EXPORT RGBA32 makeRGBAFromHSLA(double h, double s, double l, double a);
PLATFORM_EXPORT RGBA32 makeRGBAFromCMYKA(float c, float m, float y, float k, float a);
-PLATFORM_EXPORT int differenceSquared(const Color&, const Color&);
-
inline int redChannel(RGBA32 color) { return (color >> 16) & 0xFF; }
inline int greenChannel(RGBA32 color) { return (color >> 8) & 0xFF; }
inline int blueChannel(RGBA32 color) { return color & 0xFF; }
« no previous file with comments | « sky/engine/core/rendering/style/RenderStyleConstants.h ('k') | sky/engine/platform/graphics/Color.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698