| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 948a8e786ff9de9ce3f0ddd3a85ee8fb98ff1675..8f229425357f960acbe311f0bd4c7a01ef4b9462 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -1896,6 +1896,8 @@ void Document::updateRenderTreeForNodeIfNeeded(Node* node)
|
| ASSERT(node);
|
| if (!node->canParticipateInComposedTree())
|
| return;
|
| + if (!needsRenderTreeUpdate())
|
| + return;
|
|
|
| bool needsRecalc = needsFullRenderTreeUpdate() || node->needsStyleRecalc() || node->needsStyleInvalidation();
|
|
|
|
|