Index: third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
index 04a64fc4c7a0eeef79cd52b6e0f34d65fe4be1e4..8905d091bce27a3401b0b2131877252b7d7fa1b5 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -753,7 +753,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForElement(Element* element, const |
} else { |
if (state.parentStyle()) { |
RefPtr<ComputedStyle> style = ComputedStyle::create(); |
- style->inheritFrom(*state.parentStyle(), isAtShadowBoundary(element) ? ComputedStyle::AtShadowBoundary : ComputedStyle::NotAtShadowBoundary); |
+ style->inheritFrom(*state.parentStyle(), isAtShadowBoundary(element) ? ComputedStyleBase::AtShadowBoundary : ComputedStyleBase::NotAtShadowBoundary); |
state.setStyle(style.release()); |
} else { |
state.setStyle(initialStyleForElement()); |