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 73a048414e3fce350df7649fde7671a232ec9927..fdfe9b47921c1d23db88047c98a4d187a92cef4e 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.cpp |
@@ -555,7 +555,7 @@ PassRefPtr<ComputedStyle> StyleResolver::styleForDocument(Document& document) |
RefPtr<ComputedStyle> documentStyle = ComputedStyle::create(); |
documentStyle->setRTLOrdering(document.visuallyOrdered() ? VisualOrder : LogicalOrder); |
documentStyle->setZoom(frame && !document.printing() ? frame->pageZoomFactor() : 1); |
- FontDescription documentFontDescription = documentStyle->fontDescription(); |
+ FontDescription documentFontDescription = documentStyle->getFontDescription(); |
documentFontDescription.setLocale(document.contentLanguage()); |
documentStyle->setFontDescription(documentFontDescription); |
documentStyle->setZIndex(0); |
@@ -1467,7 +1467,7 @@ void StyleResolver::applyMatchedProperties(StyleResolverState& state, const Matc |
updateFont(state); |
// Many properties depend on the font. If it changes we just apply all properties. |
- if (cachedMatchedProperties && cachedMatchedProperties->computedStyle->fontDescription() != state.style()->fontDescription()) |
+ if (cachedMatchedProperties && cachedMatchedProperties->computedStyle->getFontDescription() != state.style()->getFontDescription()) |
applyInheritedOnly = false; |
// Now do the normal priority UA properties. |