| Index: Source/core/rendering/style/CachedUAStyle.h
|
| diff --git a/Source/core/rendering/style/CachedUAStyle.h b/Source/core/rendering/style/CachedUAStyle.h
|
| index 10bed857f5600ba0a8c327aaaa7540c735196fa6..86289a62e5c3534e9f4f1574f433ab563668ab56 100644
|
| --- a/Source/core/rendering/style/CachedUAStyle.h
|
| +++ b/Source/core/rendering/style/CachedUAStyle.h
|
| @@ -45,13 +45,11 @@ public:
|
| private:
|
| explicit CachedUAStyle(const RenderStyle* style)
|
| : hasAppearance(true)
|
| - , backgroundLayers(BackgroundFillLayer)
|
| - , backgroundColor(StyleColor::currentColor())
|
| + , border(style->border())
|
| + , backgroundLayers(style->backgroundLayers())
|
| + , backgroundColor(style->backgroundColor())
|
| {
|
| ASSERT(style->hasAppearance());
|
| - border = style->border();
|
| - backgroundLayers = *style->backgroundLayers();
|
| - backgroundColor = style->backgroundColor();
|
| }
|
| };
|
|
|
|
|