Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index b13034286d5a965a4bb18eaf55323a18132a2e69..b6f4ecb6c3e16a4fe727de95d2ef1b19dcea4b2d 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -1709,7 +1709,6 @@ PassRefPtr<ComputedStyle> Element::styleForLayoutObject() |
style->setHasInlineTransform(inlineStyle->hasProperty(CSSPropertyTransform)); |
} |
- document().didRecalculateStyleForElement(); |
return style.release(); |
} |
@@ -1790,9 +1789,9 @@ StyleRecalcChange Element::recalcOwnStyle(StyleRecalcChange change) |
StyleRecalcChange localChange = ComputedStyle::stylePropagationDiff(oldStyle.get(), newStyle.get()); |
if (localChange == NoChange) { |
- INCREMENT_STYLE_STATS_COUNTER(*document().styleResolver(), stylesUnchanged, 1); |
+ INCREMENT_STYLE_STATS_COUNTER(document().styleEngine(), stylesUnchanged, 1); |
} else { |
- INCREMENT_STYLE_STATS_COUNTER(*document().styleResolver(), stylesChanged, 1); |
+ INCREMENT_STYLE_STATS_COUNTER(document().styleEngine(), stylesChanged, 1); |
} |
if (localChange == Reattach) { |