| Index: sky/engine/core/css/resolver/StyleResolver.cpp
|
| diff --git a/sky/engine/core/css/resolver/StyleResolver.cpp b/sky/engine/core/css/resolver/StyleResolver.cpp
|
| index 570a63b414df0d23f9f7b138c1646ceb64f6ca12..9051f51fc39883e52e5248f601c02b78ae4c174c 100644
|
| --- a/sky/engine/core/css/resolver/StyleResolver.cpp
|
| +++ b/sky/engine/core/css/resolver/StyleResolver.cpp
|
| @@ -561,7 +561,7 @@ PassRefPtr<RenderStyle> StyleResolver::defaultStyleForElement()
|
| state.fontBuilder().initForStyleResolve(document(), state.style());
|
| state.style()->setLineHeight(RenderStyle::initialLineHeight());
|
| state.setLineHeightValue(0);
|
| - state.fontBuilder().setInitial(state.style()->effectiveZoom());
|
| + state.fontBuilder().setInitial();
|
| state.style()->font().update(document().styleEngine()->fontSelector());
|
| return state.takeStyle();
|
| }
|
| @@ -884,11 +884,6 @@ void StyleResolver::applyMatchedProperties(StyleResolverState& state, const Matc
|
| applyMatchedProperties<HighPriorityProperties>(state, matchResult, true, matchResult.ranges.firstAuthorRule, matchResult.ranges.lastAuthorRule, applyInheritedOnly);
|
| applyMatchedProperties<HighPriorityProperties>(state, matchResult, true, matchResult.ranges.firstUARule, matchResult.ranges.lastUARule, applyInheritedOnly);
|
|
|
| - if (cachedMatchedProperties && cachedMatchedProperties->renderStyle->effectiveZoom() != state.style()->effectiveZoom()) {
|
| - state.fontBuilder().setFontDirty(true);
|
| - applyInheritedOnly = false;
|
| - }
|
| -
|
| // If our font got dirtied, go ahead and update it now.
|
| updateFont(state);
|
|
|
|
|