| Index: third_party/WebKit/Source/core/dom/Document.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
|
| index 3ae652d4a77fd109b1f91e9e93388b5ee049fd44..d08344a7a4a6e2f46ee8d576a101558cb6d6017b 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/Document.cpp
|
| @@ -1940,6 +1940,14 @@ void Document::updateLayoutTreeForNode(Node* node)
|
| updateLayoutTree();
|
| }
|
|
|
| +void Document::updateLayoutIgnorePendingStylesheetsForNode(Node* node)
|
| +{
|
| + ASSERT(node);
|
| + if (!node->inActiveDocument())
|
| + return;
|
| + updateLayoutIgnorePendingStylesheets();
|
| +}
|
| +
|
| void Document::updateLayout()
|
| {
|
| ASSERT(isMainThread());
|
|
|