Index: Source/core/rendering/RenderThemeChromiumWin.cpp |
diff --git a/Source/core/rendering/RenderThemeChromiumWin.cpp b/Source/core/rendering/RenderThemeChromiumWin.cpp |
index 2a2560774ca9dc05967d26047ddc43d08db1a0d4..e9df8e06312f1973f1e707643ac4f6d56fba3ce6 100644 |
--- a/Source/core/rendering/RenderThemeChromiumWin.cpp |
+++ b/Source/core/rendering/RenderThemeChromiumWin.cpp |
@@ -552,7 +552,7 @@ bool RenderThemeChromiumWin::paintTextFieldInternal(RenderObject* o, |
// Fallback to white if the specified color object is invalid. |
Color backgroundColor(Color::white); |
if (o->style()->visitedDependentColor(CSSPropertyBackgroundColor).isValid()) |
- backgroundColor = o->style()->visitedDependentColor(CSSPropertyBackgroundColor); |
+ backgroundColor = o->resolveColor(CSSPropertyBackgroundColor); |
// If we have background-image, don't fill the content area to expose the |
// parent's background. Also, we shouldn't fill the content area if the |