| Index: third_party/WebKit/Source/core/paint/TextPainter.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/TextPainter.cpp b/third_party/WebKit/Source/core/paint/TextPainter.cpp
|
| index 4b0bd92e84eed5819695f9596aa77cdbe99f2daf..307a9069756254092752d05e4c19b2e70e08fcfb 100644
|
| --- a/third_party/WebKit/Source/core/paint/TextPainter.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/TextPainter.cpp
|
| @@ -109,7 +109,7 @@ void TextPainter::updateGraphicsContext(GraphicsContext& context, const Style& t
|
| }
|
| }
|
|
|
| -static Color textColorForWhiteBackground(Color textColor)
|
| +Color TextPainter::textColorForWhiteBackground(Color textColor)
|
| {
|
| int distanceFromWhite = differenceSquared(textColor, Color::white);
|
| // semi-arbitrarily chose 65025 (255^2) value here after a few tests;
|
|
|