| Index: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| index f45c33fef7fa1a013d9bb50431952d430906d19c..b6f39ab83f61c7ae8fd85d549850142d7f8e12eb 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| +++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp
|
| @@ -404,7 +404,7 @@ CSSValue* CSSComputedStyleDeclaration::getFontSizeCSSValuePreferringKeyword() co
|
| if (!m_node)
|
| return nullptr;
|
|
|
| - m_node->document().updateLayoutIgnorePendingStylesheets();
|
| + m_node->document().updateStyleAndLayoutIgnorePendingStylesheets();
|
|
|
| const ComputedStyle* style = m_node->ensureComputedStyle(m_pseudoElementSpecifier);
|
| if (!style)
|
| @@ -538,7 +538,7 @@ CSSValue* CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropertyID propert
|
|
|
| Document& document = styledNode->document();
|
|
|
| - document.updateLayoutTreeForNode(styledNode);
|
| + document.updateStyleAndLayoutTreeForNode(styledNode);
|
|
|
| // The style recalc could have caused the styled node to be discarded or replaced
|
| // if it was a PseudoElement so we need to update it.
|
| @@ -552,7 +552,7 @@ CSSValue* CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropertyID propert
|
| || (document.ownerElement() && document.ensureStyleResolver().hasViewportDependentMediaQueries());
|
|
|
| if (forceFullLayout) {
|
| - document.updateLayoutIgnorePendingStylesheetsForNode(styledNode);
|
| + document.updateStyleAndLayoutIgnorePendingStylesheetsForNode(styledNode);
|
| styledNode = this->styledNode();
|
| style = computeComputedStyle();
|
| layoutObject = styledNode->layoutObject();
|
| @@ -596,7 +596,7 @@ String CSSComputedStyleDeclaration::item(unsigned i) const
|
| bool CSSComputedStyleDeclaration::cssPropertyMatches(CSSPropertyID propertyID, const CSSValue* propertyValue) const
|
| {
|
| if (propertyID == CSSPropertyFontSize && propertyValue->isPrimitiveValue() && m_node) {
|
| - m_node->document().updateLayoutIgnorePendingStylesheets();
|
| + m_node->document().updateStyleAndLayoutIgnorePendingStylesheets();
|
| const ComputedStyle* style = m_node->ensureComputedStyle(m_pseudoElementSpecifier);
|
| if (style && style->getFontDescription().keywordSize()) {
|
| CSSValueID sizeValue = cssIdentifierForFontSizeKeyword(style->getFontDescription().keywordSize());
|
|
|