| Index: Source/core/css/resolver/StyleResolver.cpp
|
| diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
|
| index 3a37b10f5fed2506b4d4351d375008eb897d5fe7..f0e35335553f3633db6868de25e4b4c5af31f3cc 100644
|
| --- a/Source/core/css/resolver/StyleResolver.cpp
|
| +++ b/Source/core/css/resolver/StyleResolver.cpp
|
| @@ -492,7 +492,7 @@ PassRefPtr<LayoutStyle> StyleResolver::styleForDocument(Document& document)
|
| return documentStyle.release();
|
| }
|
|
|
| -static AuthorStyleInfo authorStyleInfo(StyleResolverState& state)
|
| +AuthorStyleInfo StyleResolver::authorStyleInfo(StyleResolverState& state)
|
| {
|
| const CachedUAStyle* cachedUAStyle = state.cachedUAStyle();
|
|
|
| @@ -508,7 +508,7 @@ static AuthorStyleInfo authorStyleInfo(StyleResolverState& state)
|
| backgroundLayersCopy.setRepeatY(NoRepeatFill);
|
|
|
| bool backgroundChanged = backgroundLayersCopy != backgroundCopy
|
| - || state.style()->visitedDependentColor(CSSPropertyBackgroundColor) != cachedUAStyle->backgroundColor;
|
| + || state.style()->backgroundColor() != cachedUAStyle->backgroundColor;
|
| bool borderChanged = state.style()->border() != cachedUAStyle->border;
|
|
|
| return AuthorStyleInfo(backgroundChanged, borderChanged);
|
|
|