| 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 bc79235b870023303b411d5f9d57272e20d0d0a8..aa27cce6de3e4bca5ce2a058d7ca4c2479681934 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)
|
| @@ -518,7 +518,7 @@ CSSValue* CSSComputedStyleDeclaration::getPropertyCSSValue(AtomicString customPr
|
| if (!styledNode)
|
| return nullptr;
|
|
|
| - styledNode->document().updateLayoutTreeForNode(styledNode);
|
| + styledNode->document().updateStyleAndLayoutTreeForNode(styledNode);
|
|
|
| const ComputedStyle* style = computeComputedStyle();
|
| if (!style)
|
| @@ -541,7 +541,7 @@ CSSValue* CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropertyID propert
|
| return nullptr;
|
|
|
| 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.
|
| @@ -555,7 +555,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();
|
| @@ -599,7 +599,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());
|
|
|